Advisory
SAP takes the security of its vast product portfolio very seriously and thus releases security fixes for
vulnerabilities reported by external researchers and their customers every second Tuesday of the month.
SAP Note 3158613
was released on
12.04.2022 and deals with
"Update 1 to Security Note 3022622 - [CVE-2021-21480] Code injection vulnerability in SAP Manufacturing Integration and Intelligence" within Java.
We advice you to follow the instructions, to resolve
code injection
with a
hot news potential for exploitation
in component MFG-MII.
According to SAP Security Advisory team a workaround exists. It is advisable to implement the correction as part of maintenance.
Risk specification
SAP MII allows developer users having at least one role SAP_XMII_Developer to create dashboards (which is a kind of limited development activity). Such a developer could attack the system by injecting malicious JSP leading e.g. to remote OS code execution on the server.Solution
Saving a file as JSP through SSCE will not be allowed after the installation of this note. Alternativly, the consulting team has proposed the following: "SSCE by default is designed to support JSP creation. The customers should provide access to SSCE only to authorized users. All JSP content should be validated manually before moving it to production systems.Use strict separation between development and production systemsReduce assignments to role SAP_XMII_Developer, SAP_XMII_Administrator, and SAP_XMII_Super_Administrator in prouction systems.". The suggestion may be considered, as a workaround or compensating mitigation. We recommend installing/applying the correction wherever possible and as soon as possible. Base your decision on whether or not to apply the patch on your companies and systems risk perspective and consider the provided CVSS 9.1 score.
Affected System
SAP Netweaver Application Server Java is part of the SAP NetWeaver Application Platform. It provides the complete infrastructure for deploying and running Java applications.
- The AS Java Home: SAP Netweaver Application Server Java wiki
- A dedicated SAP NetWeaver 7.40 Application Server for Java Security Guide exists.
The advisory is valid for
- 10.0 [CVE-2021-44228] Remote Code Execution vulnerability associated with Apache Log4j 2 component used in SAP Customer Checkout
- 10.0 [CVE-2021-44228] Remote Code Execution vulnerability associated with Apache Log4j 2 component used in SAP BTP Cloud Foundry
- 10.0 [CVE-2021-44228] Remote Code Execution vulnerability associated with Apache Log4j 2 component used in SAP HANA XSA
- 10.0 [CVE-2021-44228] Remote Code Execution vulnerability associated with Apache Log4j 2 component used in XSA Cockpit
- 10.0 [CVE-2021-44228] Remote Code Execution vulnerability associated with Apache Log4j 2 component used in SAP Edge Services On Premise Edition