(0Day) HP Intelligent Management Center UAM sprintf Remote Code Execution Vulnerability
ZDI-12-171: August 29th, 2012CVSS Score
Affected Vendors
Affected Products
TippingPoint™ IPS Customer Protection
TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 12500. For further product information on the TippingPoint IPS: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
Hewlett-Packard states:
This vulnerability is being disclosed publicly without a patch in accordance with the ZDI 180 day deadline.
-- 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 - Coordinated public release of advisory
Credit
This vulnerability was discovered by:-
e6af8de8b1d4b2b6d5ba2610cbf9cd38
