ZDI-12-171 : (0Day) Hewlett-Packard Intelligent Management Center UAM
sprintf Remote Code Execution Vulnerability
http://www.zerodayinitiative.com/advisories/ZDI-12-171
August 29, 2012
- -- CVE ID:
- -- CVSS:
10, AV:N/AC:L/Au:N/C:C/I:C/A:C
- -- Affected Vendors:
Hewlett-Packard
- -- Affected Products:
Hewlett-Packard Intelligent Management Center
- -- TippingPoint(TM) IPS Customer Protection:
TippingPoint IPS customers have been protected against this
vulnerability by Digital Vaccine protection filter ID 12500.
For further product information on the TippingPoint IPS, visit:
http://www.tippingpoint.com
- -- Vulnerability Details:
This vulnerability allows remote attackers to execute arbitrary code on
vulnerable installations of Hewlett-Packard Intelligent Management Center.
Authentication is not required to exploit this vulnerability.
The flaw exists within the uam.exe component which listens by default on
UDP port 1811. When logging received actions to a log file, sprintf is used
to build the log message. The process does not properly verify the
destination buffer on the stack is of sufficient size to handle the newly
created string. A remote attacker can exploit this vulnerability to execute
arbitrary code under the context of the SYSTEM user.
- -- Vendor Response:
- -- Mitigation:
The overall design of the Intelligent Management Center assumes it runs as
an application on a Windows server. Given the stated purpose of Intelligent
Management Center, and the nature of the vulnerability, the only salient
mitigation strategy is to restrict interaction with the service to trusted
machines. Only the clients and servers that have a legitimate procedural
relationship with the HP Intelligent Management Center should be permitted
to communicate with it. This could be accomplished in a number of ways,
most notably with firewall rules/whitelisting. These features are available
in the native Windows Firewall, as described in
http://technet.microsoft.com/en-us/library/cc725770%28WS.10%29.aspx and
numerous other Microsoft Knowledge Base articles.
- -- Disclosure Timeline:
2011-10-21 - Vulnerability reported to vendor
2012-08-29 - 0Day advisory released in accordance with the ZDI 180 day
deadline policy
- -- Credit:
This vulnerability was discovered by:
* e6af8de8b1d4b2b6d5ba2610cbf9cd38
- -- About the Zero Day Initiative (ZDI):
Established by TippingPoint, The Zero Day Initiative (ZDI) represents
a best-of-breed model for rewarding security researchers for responsibly
disclosing discovered vulnerabilities.
Researchers interested in getting paid for their security research
through the ZDI can find more information and sign-up at:
http://www.zerodayinitiative.com
The ZDI is unique in how the acquired vulnerability information is
used. TippingPoint does not re-sell the vulnerability details or any
exploit code. Instead, upon notifying the affected product vendor,
TippingPoint provides its customers with zero day protection through
its intrusion prevention technology. Explicit details regarding the
specifics of the vulnerability are not exposed to any parties until
an official vendor patch is publicly available. Furthermore, with the
altruistic aim of helping to secure a broader user base, TippingPoint
provides this vulnerability information confidentially to security
vendors (including competitors) who have a vulnerability protection or
mitigation product.
Our vulnerability disclosure policy is available online at:
http://www.zerodayinitiative.com/advisories/disclosure_policy/
Follow the ZDI on Twitter:
http://twitter.com/thezdi