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 3123196
was released on
14.12.2021 and deals with
"[CVE-2021-44235] Code Injection vulnerability in utility class for SAP NetWeaver AS ABAP" within ABAP.
We advice you to follow the instructions, to resolve
os command injection
with a
high potential for exploitation
in component BC-INS-TC-CNT.
According to SAP Security Advisory team a workaround does not exist. It is advisable to implement the correction as monthly patch process.
Missing authority checks are still the most common security defect related to authorizations in custom code. Since SAP uses an explicit authorization model, an authority checks must be coded in order to be executed. If an explicit check is not coded, all users have access. This type of vulnerability not only exists in SAP standard it also exists in customer coding. Check your custom developments for vulnerabilities that pose a risk to your systems. SecurityBridge helps detect code vulnerabilities before they are implemented in production.
Risk specification
This note has been re-released with updated 'Reason and Prerequisites' information. An highly authenticated attacker could run any OS command through the call of a method from class CL_STCT_SC_EXPORT_SECSTORE or CL_STCT_SC_IMPORT_SECSTORE with access to transaction SE24/SE80 .Solution
The functionality is completely removed and directly integrated into the class where it is executed without the possibility to pass any parameter.
Affected System
The advisory 3123196 describes a problem within an ABAP based systems of a specific version. Affected versions are described below. ABAP software is deployed in various software components and is widely used within the SAP product portfolio.
SAP NetWeaver Application Server (formally known as SAP Web Application Server) is a building block of SAP NetWeaver. It is the foundation for most software products developed by SAP SE. SAP NetWeaver systems exist with Java and/or ABAP stacks. The advisory could be relevant for single and dual-stack ABAP installations.
The advisory is valid for
- SAP_BASIS 700-702 66
- SAP_BASIS 710-711 21
- SAP_BASIS 730 34
- SAP_BASIS 731 78
- SAP_BASIS 740 81
- SAP_BASIS 750-756 12
- 9.9 [CVE-2021-37531] Code Injection vulnerability in SAP NetWeaver Knowledge Management (XMLForms)
- 9.1 Update 1 to 3350297 - [CVE-2023-36922] OS command injection vulnerability in SAP ECC and SAP S/4HANA (IS-OIL)
- 9.1 [CVE-2023-36922] OS command injection vulnerability in SAP ECC and SAP S/4HANA (IS-OIL)
- 9.1 Update 2 to Security Note 2808158: [CVE-2019-0330] OS Command Injection vulnerability in SAP Diagnostics Agent
- 9.1 [CVE-2020-26820] Privilege escalation in SAP NetWeaver Application Server for Java (UDDI Server)