CVE-2021-21480
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 52.1% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 52.1% in the next 30 days (EPSS).
- Severity: 8.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 52.1% · EPSS, next 30 days
- Weakness
- CWE-94 · Code injection
- Record status
- Modified
Affected
- Sap Manufacturing Integration And Intelligence 15.1
- Sap Manufacturing Integration And Intelligence 15.2
- Sap Manufacturing Integration And Intelligence 15.3
- Sap Manufacturing Integration And Intelligence 15.4
Attack profile CVSS 3.1 · 8.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-21480.md and follow it. Check whether this project is affected by CVE-2021-21480. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://launchpad.support.sap.com/#/notes/3022622
- https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=571343107
- https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html
- https://launchpad.support.sap.com/#/notes/3022622
- https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=571343107
- https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html
References
- http://packetstormsecurity.com/files/163164/SAP-XMII-Remote-Code-Execution.html
- http://seclists.org/fulldisclosure/2021/Jun/30
- https://launchpad.support.sap.com/#/notes/3022622
- https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=571343107
- https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html
- http://packetstormsecurity.com/files/163164/SAP-XMII-Remote-Code-Execution.html
- http://seclists.org/fulldisclosure/2021/Jun/30
- https://launchpad.support.sap.com/#/notes/3022622
- https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=571343107
- https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html