Rapid7 Vulnerability & Exploit Database

SAP /sap/bc/soap/rfc SOAP Service SXPG_COMMAND_EXEC Function Command Injection

Back to Search

SAP /sap/bc/soap/rfc SOAP Service SXPG_COMMAND_EXEC Function Command Injection

Created
05/30/2018

Description

This module makes use of the SXPG_COMMAND_EXEC Remote Function Call, through the use of the /sap/bc/soap/rfc SOAP service, to inject and execute OS commands.

Author(s)

  • nmonkee

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 auxiliary/scanner/sap/sap_soap_rfc_dbmcli_sxpg_command_exec
msf auxiliary(sap_soap_rfc_dbmcli_sxpg_command_exec) > show actions
    ...actions...
msf auxiliary(sap_soap_rfc_dbmcli_sxpg_command_exec) > set ACTION < action-name >
msf auxiliary(sap_soap_rfc_dbmcli_sxpg_command_exec) > show options
    ...show and set options...
msf auxiliary(sap_soap_rfc_dbmcli_sxpg_command_exec) > run 

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

;