Advisory Details

May 29th, 2013

Hewlett-Packard Managed Printing Administrator mdbBuildValueBasedSQL() Remote Code Execution Vulnerability

ZDI-13-093
ZDI-CAN-1668

CVE ID CVE-2012-5219
CVSS SCORE 10.0, AV:N/AC:L/Au:N/C:C/I:C/A:C
AFFECTED VENDORS Hewlett-Packard
AFFECTED PRODUCTS Managed Printing Administration
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID ['12946']. 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 HP Managed Printing Administration. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the mdbBuildValueBasedSQL function inside the mdbObjectWrapper class. It is possible for a remote, unauthenticated user to inject arbitrary SQL commands in a GET request which could ultimately lead to arbitrary code execution under the context of the SYSTEM user.

ADDITIONAL DETAILS Hewlett-Packard has issued an update to correct this vulnerability. More details can be found at:
https://h20566.www2.hp.com/portal/site/hpsc/public/kb/docDisplay/?docId=emr_na-c03737200
DISCLOSURE TIMELINE
  • 2012-11-19 - Vulnerability reported to vendor
  • 2013-05-29 - Coordinated public release of advisory
CREDIT Andrea Micalizzi aka rgod
BACK TO ADVISORIES