Rapid7 Vulnerability & Exploit Database

SAP SOAP RFC SXPG_CALL_SYSTEM Remote Command Execution

Back to Search

SAP SOAP RFC SXPG_CALL_SYSTEM Remote Command Execution

Disclosed
03/26/2013
Created
05/30/2018

Description

This module abuses the SAP NetWeaver SXPG_CALL_SYSTEM function, on the SAP SOAP RFC Service, to execute remote commands. This module needs SAP credentials with privileges to use the /sap/bc/soap/rfc in order to work. The module has been tested successfully on Windows 2008 64-bit and Linux 64-bit platforms.

Author(s)

  • nmonkee

Platform

Unix,Windows

Development

References

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

;