Advisory Details

May 9th, 2011

Sybase M-Business Anywhere Server agd.exe encodeUsername Remote Code Execution Vulnerability

ZDI-11-155
ZDI-CAN-942

CVE ID
CVSS SCORE 10.0, AV:N/AC:L/Au:N/C:C/I:C/A:C
AFFECTED VENDORS Sybase
AFFECTED PRODUCTS MBusiness Anywhere
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID ['10911']. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
VULNERABILITY DETAILS

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

The flaw exists within the agd.exe component which listens by default on TCP port 80 and 443. When calling agd!encodeUsername the process creates a 100 byte buffer on the heap. The process then blindly copies user supplied data into that fixed-length buffer without verifying that the size of the destination buffer is adequately sized. A remote attacker can exploit this vulnerability to execute arbitrary code under the context of the SYSTEM user.

ADDITIONAL DETAILS Sybase has issued an update to correct this vulnerability. More details can be found at:
http://www.sybase.com/detail?id=1093029
DISCLOSURE TIMELINE
  • 2011-01-20 - Vulnerability reported to vendor
  • 2011-05-09 - Coordinated public release of advisory
CREDIT AbdulAziz Hariri
BACK TO ADVISORIES