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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:sap:manufacturing_integration_and_intelligence:15.1:*:*:*:*:*:*:*
cpe:2.3:a:sap:manufacturing_integration_and_intelligence:15.2:*:*:*:*:*:*:*
cpe:2.3:a:sap:manufacturing_integration_and_intelligence:15.3:*:*:*:*:*:*:*
cpe:2.3:a:sap:manufacturing_integration_and_intelligence:15.4:*:*:*:*:*:*:*

History

13 Jun 2022, 19:57

Type Values Removed Values Added
References (MISC) http://packetstormsecurity.com/files/163164/SAP-XMII-Remote-Code-Execution.html - Third Party Advisory (MISC) http://packetstormsecurity.com/files/163164/SAP-XMII-Remote-Code-Execution.html - Third Party Advisory, VDB Entry
References (MISC) https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html - (MISC) https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html - Vendor Advisory

10 May 2022, 21:15

Type Values Removed Values Added
References
  • (MISC) https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html -

19 Apr 2022, 21:15

Type Values Removed Values Added
Summary 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. 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.

17 Jun 2021, 17:05

Type Values Removed Values Added
References (FULLDISC) http://seclists.org/fulldisclosure/2021/Jun/30 - (FULLDISC) http://seclists.org/fulldisclosure/2021/Jun/30 - Mailing List, Third Party Advisory
References (MISC) http://packetstormsecurity.com/files/163164/SAP-XMII-Remote-Code-Execution.html - (MISC) http://packetstormsecurity.com/files/163164/SAP-XMII-Remote-Code-Execution.html - Third Party Advisory

15 Jun 2021, 21:15

Type Values Removed Values Added
References
  • (MISC) http://packetstormsecurity.com/files/163164/SAP-XMII-Remote-Code-Execution.html -

14 Jun 2021, 19:15

Type Values Removed Values Added
References
  • (FULLDISC) http://seclists.org/fulldisclosure/2021/Jun/30 -

16 Mar 2021, 17:29

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 9.0
v3 : 8.8
CPE cpe:2.3:a:sap:manufacturing_integration_and_intelligence:15.1:*:*:*:*:*:*:*
cpe:2.3:a:sap:manufacturing_integration_and_intelligence:15.2:*:*:*:*:*:*:*
cpe:2.3:a:sap:manufacturing_integration_and_intelligence:15.3:*:*:*:*:*:*:*
cpe:2.3:a:sap:manufacturing_integration_and_intelligence:15.4:*:*:*:*:*:*:*
References (MISC) https://launchpad.support.sap.com/#/notes/3022622 - (MISC) https://launchpad.support.sap.com/#/notes/3022622 - Permissions Required, Vendor Advisory
References (MISC) https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=571343107 - (MISC) https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=571343107 - Vendor Advisory
CWE CWE-94

09 Mar 2021, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2021-03-09 15:15

Updated : 2023-12-10 13:41


NVD link : CVE-2021-21480

Mitre link : CVE-2021-21480

CVE.ORG link : CVE-2021-21480


JSON object : View

Products Affected

sap

  • manufacturing_integration_and_intelligence
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')