Rapid7 Vulnerability & Exploit Database

SAP ConfigServlet Remote Code Execution

Back to Search

SAP ConfigServlet Remote Code Execution

Disclosed
11/01/2012
Created
05/30/2018

Description

This module allows remote code execution via operating system commands through the SAP ConfigServlet without any authentication. This module has been tested successfully with SAP NetWeaver 7.00 and 7.01 on Windows Server 2008 R2.

Author(s)

  • Dmitry Chastuhin
  • Andras Kabai

Platform

Windows

Development

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/http/sap_configservlet_exec_noauth
msf exploit(sap_configservlet_exec_noauth) > show targets
    ...targets...
msf exploit(sap_configservlet_exec_noauth) > set TARGET < target-id >
msf exploit(sap_configservlet_exec_noauth) > show options
    ...show and set options...
msf exploit(sap_configservlet_exec_noauth) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;