[NT] Microsoft BizTalk Server DTA Vulnerable to SQL Injection

From: SecuriTeam (support_at_securiteam.com)
Date: 05/09/03

  • Next message: SecuriTeam: "[NEWS] Multiple Vulnerabilities found in Microsoft .Net Passport Services"
    To: list@securiteam.com
    Date: 9 May 2003 10:02:09 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    In the US?

    Contact Beyond Security at our new California office
    housewarming rates on automated network vulnerability
    scanning. We also welcome ISPs and other resellers!

    Please contact us at: 323-882-8286 or ussales@beyondsecurity.com
    - - - - - - - - -

      Microsoft BizTalk Server DTA Vulnerable to SQL Injection
    ------------------------------------------------------------------------

    SUMMARY

    Microsoft BizTalk Server is a Microsoft product for business-process
    automation and application-integration both within and between businesses.
    BizTalk Server provides a powerful Web-based development and execution
    environment that integrates loosely coupled, long-running business
    processes, both within and between companies. BizTalk Server features
    include integration among existing applications; the definition of
    document specifications and specification transformations; and the
    monitoring and logging of run-time activity. The server provides a
    standard gateway for sending and receiving documents across the Internet,
    as well as providing a range of services that ensure data integrity,
    delivery, security, and support for the BizTalk Framework and other key
    document formats. Microsoft BizTalk Server provides the ability for
    administrators to manage documents via a Document Tracking and
    Administration (DTA) web interface. An SQL Injection vulnerability exists
    in some of the pages used by DTA that could allow an attacker to send a
    crafted URL query string to a legitimate DTA user and to execute a
    malicious embedded SQL statement in the query string.

    DETAILS

    Vulnerable systems:
     * BizTalk Server 2000 and BizTalk Server 2002

    BizTalk Document Tracking and Administration is a stand-alone Web
    application that you can use to view interchanges and documents that you
    configured to be tracked in Microsoft BizTalk Server. BizTalk Server uses
    SQL Server as a backend database server. Only members of Windows
    administrators or BizTalk Server Report Users local groups are granted by
    default to use BizTalk Document Tracking and Administration user interface
    and view tracked documents. The web application authenticate users by
    Windows authentication, the credentials are also used to authenticate to
    SQL Server. The web application is located at:

    http://server/biztalktracking/

    There are two ASP pages on the web application that connect from server
    side to SQL Server that are vulnerable to SQL injection:

    http://server/biztalktracking/rawdocdata.asp
    http://server/biztalktracking/RawCustomSearchField.asp

    Exploits:
    http://server/biztalktracking/rawdocdata.asp?nDocumentKey=1,@tnDirection=1;exec master.dbo.xp_cmdshell 'any OS command'--

    http://server/biztalktracking/RawCustomSearchField.asp?nDocumentKey=1,@tnDirection=1;exec
    master.dbo.xp_cmdshell 'any OS command'--
     
    Or

    http://server/biztalktracking/rawdocdata.asp?nDocumentKey=1,@tnDirection=1;exec
    master.dbo.sp_grantlogin 'domain\attacker'--

    http://server/biztalktracking/RawCustomSearchField.asp?nDocumentKey=1,@tnDirection=1;exec
    master.dbo.sp_grantlogin 'domain\attacker'--

    ..etc.

    There are others ASP and HTML pages in the Web application that connect to
    SQL Server with ActiveX components from client side that are also
    vulnerable to SQL injection. However, when a user accesses these pages a
    warning message is displayed by Internet Explorer with default security
    settings for Intranet Zone:
    "This page access data on another domain. Do you want to allow this"

    Making the exploitation harder without alarming the targeted
    administrators.

    This vulnerability can be exploited through XSS or sending an
    administrator an HTML e-mail, etc. targeting the vulnerable server.
    Exploitation of this vulnerability allows an attacker to complete
    compromise SQL Server and could lead to further OS compromise.

    Workaround:
    Edit ASP and HTML source files to filter malicious input.

    Vendor Status:
    Microsoft was contacted 02/14/03, Cesar and Microsoft worked together, and
    Microsoft released a fix.

    Patch Available:
     <http://www.microsoft.com/technet/security/bulletin/MS03-016.asp>
    http://www.microsoft.com/technet/security/bulletin/MS03-016.asp

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:cesarc56@yahoo.com> Cesar.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[NEWS] Multiple Vulnerabilities found in Microsoft .Net Passport Services"

    Relevant Pages

    • Re: Insufficient privileges to access WMI
      ... Choose WMI Control and right-click it and choose "Properties". ... MicrosoftBizTalkServer and choose "Security". ... is in the BizTalk Server Administrators-group. ... >I am getting the following error message in the application log. ...
      (microsoft.public.biztalk.server)
    • [NT] Cumulative Patch for SQL Server
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... released patches for SQL Server 2000. ... * A buffer overrun vulnerability in a procedure used to encrypt SQL ... An attacker who was able to successfully ...
      (Securiteam)
    • [NT] SQL Server Remote Data Source Function Buffer Overflows
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... One of the features of Structured Query Language in SQL Server 7.0 ... An attacker could exploit this vulnerability in one of two ways. ...
      (Securiteam)
    • [NT] Another Cumulative Patch for SQL Server Released
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... previously released patches for SQL Server 7.0, SQL Server 2000, and ... malformed login request to an affected server, an attacker could either ... * A buffer overrun vulnerability that occurs in one of the Database ...
      (Securiteam)
    • WebCortex Webstores2000 version 6.0 multiple security vulnerabilities
      ... WebCortex Webstores2000 version 6.0 multiple security vulnerabilities ... and uses MS Access or MS SQL Server as a backend. ... An SQL Injection vulnerability has been found in the 'browse_items.asp' ...
      (Bugtraq)