TippingPoint Zero Day Initiative

Sybase M-Business Anywhere agd.exe username Parameter Remote Code Execution Vulnerability

ZDI-11-156: May 9th, 2011

CVSS Score

Affected Vendors


Affected Products

TippingPoint™ IPS Customer Protection

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

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Sybase M-Business Anywhere. Authentication is not required to exploit this vulnerability.

The specific flaw exists within agsync.dll, which listens for SOAP and sync (HTTP) requests on ports 80 and 443 (HTTPS). When handling a supplied username parameter the process fails to verify the string length. This user-supplied data is then copied to a static sized buffer on the heap. A remote attacker could use this flaw to inject arbitrary code into the agd.exe process, which runs by default under the SYSTEM context.

Vendor Response

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

Disclosure Timeline

    2011-04-01 - Vulnerability reported to vendor
    2011-05-09 - Coordinated public release of advisory


This vulnerability was discovered by:
    Luigi Auriemma