CVE-2021-21480 Code injection in SAP Manufacturing Integration and Intelligence
An attacker can inject malicious JSP code into SAP MII dashboards, leading to remote code execution and privilege escalation on the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-21480?
CVE-2021-21480 is a critical code injection vulnerability in SAP Manufacturing Integration and Intelligence, published on 9 Mar 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-94
Which versions are affected by CVE-2021-21480?
It affects 1 product.
Products include Sap Manufacturing Integration and Intelligence.
How do I fix CVE-2021-21480?
No fix has been published for CVE-2021-21480 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-21480 being exploited?
There is no known exploitation of CVE-2021-21480 in the wild and no public exploit code.
Other vulnerabilities in SAP Manufacturing Integration and Intelligence
Sources
Also known as GHSA-9q82-vh99-v4rp.