module

SAP NetWeaver Dispatcher DiagTraceR3Info Buffer Overflow

Disclosed
2012-05-08
Created
2018-05-30

Description

This module exploits a stack buffer overflow in the SAP NetWeaver Dispatcher
service. The overflow occurs in the DiagTraceR3Info() function and allows a remote
attacker to execute arbitrary code by supplying a special crafted Diag packet. The
Dispatcher service is only vulnerable if the Developer Traces have been configured
at levels 2 or 3. The module has been successfully tested on SAP Netweaver 7.0 EHP2
SP6 over Windows XP SP3 and Windows 2003 SP2 (DEP bypass).

Authors

Martin Gallo
juan vazquez juan.vazquez@metasploit.com

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/windows/misc/sap_netweaver_dispatcher
msf exploit(sap_netweaver_dispatcher) > show targets
...targets...
msf exploit(sap_netweaver_dispatcher) > set TARGET < target-id >
msf exploit(sap_netweaver_dispatcher) > show options
...show and set options...
msf exploit(sap_netweaver_dispatcher) > exploit

Title
NEW

Explore Exposure Command

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