(0Day) HP Diagnostics Server magentservice.exe Remote Code Execution Vulnerability
ZDI-12-016: January 12th, 2012CVE ID
CVSS Score
Affected Vendors
Affected Products
-
Diagnostics Server
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of HP Diagnostics server. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the way the HP Diagnostics server handles incomming packets with 0x00000000 as the first 32-bit value. The magentservice.exe process listens on port 23472 by default. It will eventually take that first dword, decrease it by one and use it as a size value to copy data into a stack buffer. The resulting stack-based buffer overflow can result in remote code execution under 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:
HP states that a patch for this vulnerability will be made available to the public "soon." Until that time, it is recommended that administrators of Diagnostics Server enabled systems restrict access to port 23472 to trusted hosts only.
Disclosure Timeline
-
2011-06-03 - Vulnerability reported to vendor
2012-01-12 - Coordinated public release of advisory
Credit
This vulnerability was discovered by:-
AbdulAziz Hariri
