Exploit database

Vulnerability

CVE-2010-2709

Vulnerability details

Score
9.3
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:M/Au:N/C:C/I:C/A:C

Description

Stack-based buffer overflow in webappmon.exe in HP OpenView Network Node Manager (OV NNM) 7.51 and 7.53 allows remote attackers to execute arbitrary code via a long OvJavaLocale value in a cookie.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

3 sources
HP NNM CGI webappmon.exe OvJavaLocale Buffer Overflow
MSF-windows--http--hp_nnm_webappmon_ovjavalocaleMetasploitWindows / remote

This module exploits a stack buffer overflow in HP OpenView Network Node Manager 7.53. By sending a request containing a cookie longer than 5120 bytes, an attacker can overflow a stack buffer and execute arbitrary code. The vulnerable code is within the OvWwwDebug function. The static-sized stack buffer is declared within this function. When the vulnerability is triggered, the stack trace looks like the following: #0 ... #1 sprintf_new(local_stack_buf, fmt, cookie); #2 OvWwwDebug(" HTTP_COOKIE=%s\n", cookie); #3 ?OvWwwInit@@YAXAAHQAPADPBD@Z(x, x, x); #4 sub_405ee0("nnm", "webappmon"); No validation is done on the cookie argument. There are no stack cookies, so exploitation is easily achieved by overwriting the saved return address or SEH frame. The original advisory detailed an attack vector using the "OvJavaLocale" cookie being passed in a request to "webappmon.exe". Further research shows that several different cookie values, as well as several different CGI applications, can be used. '

2010-08-03hp_nnm_webappmon_ovjavalocale.rb