TippingPoint Zero Day Initiative
 

SAP Netweaver ABAP msg_server.exe Opcode 0x43 Remote Code Execution Vulnerability

ZDI-12-111: June 28th, 2012

CVSS Score

Affected Vendors

Affected Products

    NetWeaver

TippingPoint™ IPS Customer Protection

TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 12407. For further product information on the TippingPoint IPS:

Vulnerability Details


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of SAP Netweaver ABAP. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the msg_server.exe listening on 3900 by default. When the msg_server parses a message with opcode 0x43 and sub-opcode 0x04 it uses a user suplied size field to copy a string into a static sized stack buffer. The resulting buffer overflow can lead to remote code execution under the context of the process.

Vendor Response

SAP has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline

    2011-10-28 - Vulnerability reported to vendor
    2012-06-28 - Coordinated public release of advisory

Credit

This vulnerability was discovered by:
    e6af8de8b1d4b2b6d5ba2610cbf9cd38