TippingPoint Zero Day Initiative

SAP MaxDB Malformed Handshake Request Remote Code Execution Vulnerability

ZDI-10-032: March 16th, 2010


CVSS Score

Affected Vendors

Affected Products

TippingPoint™ IPS Customer Protection

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

Vulnerability Details

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

The specific flaw exists within the serv.exe process which listens by default on TCP port 7210. The process trusts a value from a handshake packet and uses it as a length when copying data to the stack. If provided a malicious value and packet data, this can be leveraged to execute arbitrary code under the context of the SYSTEM user.

Vendor Response

SAP states:

A solution was provided via SAP note 1409425 (https://service.sap.com/sap/support/notes/1409425)

Disclosure Timeline

    2009-11-09 - Vulnerability reported to vendor
    2010-03-16 - Coordinated public release of advisory


This vulnerability was discovered by:
    AbdulAziz Hariri of Insight Technologies