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
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 specificationThis 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 .
The functionality is completely removed and directly integrated into the class where it is executed without the possibility to pass any parameter.
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 31
- SAP_BASIS 710-711 19
- SAP_BASIS 730 33
- SAP_BASIS 731 40
- SAP_BASIS 740 40
- SAP_BASIS 750-756 13
- 9.9 [CVE-2021-37531] Code Injection vulnerability in SAP NetWeaver Knowledge Management (XMLForms)
- 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)
- 5.6 [CVE-2022-31591] Privilege Escalation vulnerability in SAP BusinessObjects (BW Publisher Service)
- 4.9 [CVE-2022-29614] Privilege Escalation in SAP startservice of SAP NetWeaver AS ABAP, AS Java, ABAP Platform and HANA Database