RCE in SAP Manufacturing Integration And Intelligence

CVE-2021-21480

SAP MII allows users to create dashboards and save them as JSP through the SSCE (Self Service Composition Environment). An attacker can intercept a request to the server, inject malicious JSP code in the request and forward to server. When this dashboard is opened by users having at least SAP_XMII Developer role, malicious content in the dashboard gets executed, leading to remote code execution in the server, which allows privilege escalation. The malicious JSP code can contain certain OS commands, through which an attacker can read sensitive files in the server, modify files or even delete contents in the server thus compromising the confidentiality, integrity and availability of the server hosting the SAP MII application. Also, an attacker authenticated as a developer can use the application to upload and execute a file which will permit them to execute operating systems commands completely compromising the server hosting the application.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.509 (98.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cna@sap.com (x_refsource_MISC, Vendor Advisory)
  • cna@sap.com (Permissions Required, x_refsource_MISC, Vendor Advisory)
  • cna@sap.com (mailing-list, x_refsource_FULLDISC, Mailing List, Third Party Advisory)
  • cna@sap.com (VDB Entry, Third Party Advisory, x_refsource_MISC)
  • cna@sap.com (x_refsource_MISC, Vendor Advisory)

Frequently asked questions

What is CVE-2021-21480?
CVE-2021-21480 is a high-severity vulnerability in SAP Manufacturing Integration And Intelligence, classified under Code Injection. CVSS score: 8.8/10. Published 2021-03-09.
How severe is CVE-2021-21480?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2021-21480 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.