TippingPoint Zero Day Initiative

HP Mercury LoadRunner Agent Stack Overflow Vulnerability

ZDI-07-007: February 8th, 2007

CVE ID

Affected Vendors

    Mercury

Affected Products

    LoadRunner
    Monitor over Firewall
    Performance Center

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Hewlett-Packard Mercury LoadRunner Agent, Mercury Performance Center Agent and Mercury Monitor over Firewall. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the process magentproc.exe that binds to TCP port 54345. When parsing packets containing an overly long 'server_ip_name' field, an exploitable stack overflow may be triggered due to an an inline strcpy() within the library mchan.dll.

Vendor Response

Mercury has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline

    2006-10-27 - Vulnerability reported to vendor
    2007-02-08 - Coordinated public release of advisory

Credit

This vulnerability was discovered by:
    Eric DETOISIEN