module

SAP Solution Manager remote unauthorized OS commands execution

Disclosed
2020-10-03
Created
2021-03-26

Description

This module exploits the CVE-2020-6207 vulnerability within the SAP EEM servlet (tc~smd~agent~application~eem) of
SAP Solution Manager (SolMan) running version 7.2. The vulnerability occurs due to missing authentication
checks when submitting a SOAP request to the /EemAdminService/EemAdmin page to get information about connected SMDAgents,
send HTTP request (SSRF) and execute OS command on connected SMDAgent. Works stable in connected SMDAgent with Java version 1.8.

Successful exploitation will allow unauthenticated remote attackers to get reverse shell from connected to the SolMan
agent as the user under which it runs SMDAgent service, usually daaadm.

Authors

Yvan Genuer
Pablo Artuso
Dmitry Chastuhin
Vladimir Ivanov

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