module

SAP Solution Manager remote unauthorized OS commands execution

Disclosed
Oct 3, 2020
Created
Mar 26, 2021

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 SOAP requests to the /EemAdminService/EemAdmin page to get information about connected SMDAgents,
send HTTP request (SSRF), and execute OS commands on connected SMDAgent. Works stable in connected SMDAgent with Java version 1.8.

Successful exploitation of the vulnerability enables unauthenticated remote attackers to achieve SSRF and execute OS commands from the agent connected
to SolMan as a user from which the SMDAgent service starts, usually the 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 auxiliary/admin/sap/cve_2020_6207_solman_rce
msf auxiliary(cve_2020_6207_solman_rce) > show actions
...actions...
msf auxiliary(cve_2020_6207_solman_rce) > set ACTION < action-name >
msf auxiliary(cve_2020_6207_solman_rce) > show options
...show and set options...
msf auxiliary(cve_2020_6207_solman_rce) > run

Title
NEW

Explore Exposure Command

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