module
HP OpenView Network Node Manager ovwebsnmpsrv.exe Unrecognized Option Buffer Overflow
Disclosed | Created |
---|---|
Jun 8, 2010 | May 30, 2018 |
Disclosed
Jun 8, 2010
Created
May 30, 2018
Description
This module exploits a stack buffer overflow in HP OpenView Network Node Manager 7.53
prior to NNM_01203. By specifying a long 'arg' parameter when executing the 'jovgraph.exe'
CGI program, an attacker can cause a stack-based buffer overflow and execute arbitrary code.
The vulnerable code is within the option parsing function within "ovwebsnmpsrv.exe" with a
timestamp prior to April 7th, 2010.
Reaching the vulnerable code requires a 'POST' request with an 'arg' parameter that, when combined
with some static text, exceeds 10240 bytes. The parameter must begin with a dash. It is
important to note that this vulnerability must be exploited by overwriting SEH. This is since
overflowing the buffer with controllable data always triggers an access violation when
attempting to write static text beyond the end of the stack.
Exploiting this issue is a bit tricky due to a restrictive character set. In order to accomplish
arbitrary code execution, a double-backward jump is used in combination with the Alpha2
encoder.
prior to NNM_01203. By specifying a long 'arg' parameter when executing the 'jovgraph.exe'
CGI program, an attacker can cause a stack-based buffer overflow and execute arbitrary code.
The vulnerable code is within the option parsing function within "ovwebsnmpsrv.exe" with a
timestamp prior to April 7th, 2010.
Reaching the vulnerable code requires a 'POST' request with an 'arg' parameter that, when combined
with some static text, exceeds 10240 bytes. The parameter must begin with a dash. It is
important to note that this vulnerability must be exploited by overwriting SEH. This is since
overflowing the buffer with controllable data always triggers an access violation when
attempting to write static text beyond the end of the stack.
Exploiting this issue is a bit tricky due to a restrictive character set. In order to accomplish
arbitrary code execution, a double-backward jump is used in combination with the Alpha2
encoder.
Author
jduck jduck@metasploit.com
Platform
Windows
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.