Body Background
TrendAI™ Zero Day Initiative™ Logo

(0Day) HP Diagnostics Server magentservice.exe Remote Code Execution Vulnerability

January 12th, 2012

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.

Additional Details


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

AbdulAziz Hariri

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.