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 2999854
was released on
12.01.2021 and deals with
"[CVE-2021-21466] Code Injection in SAP Business Warehouse and SAP BW/4HANA" within ABAP.
We advice you to follow the instructions, to resolve
hot news potential for exploitation
in component BW-BEX-OT-DBIF.
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 specificationSAP Business Warehouse and SAP BW/4HANA allow a low privileged attacker to inject code using a remote enabled function module over the network.
All input data of the affected function is now properly validated which prevents malicious input from being passed to the database.
The advisory 2999854 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
- DW4CORE 100 2
- DW4CORE 200 2
- SAP_BW 700-702 4
- SAP_BW 711
- SAP_BW 730 4
- SAP_BW 731 5
- SAP_BW 740 5
- SAP_BW 750-755 6
- SAP_BW 782 4
- 9.9 [CVE-2021-27602] Remote Code Execution vulnerability in Source Rules of SAP Commerce
- 9.1 [CVE-2020-6248] Code injection in SAP Adaptive Server Enterprise (Backup Server)
- 9.1 [CVE-2020-26838] Code Injection vulnerability in SAP Business Warehouse (Master Data Management) and SAP BW4HANA
- 9.1 [CVE-2020-6318] Code Injection vulnerability in SAP NetWeaver (ABAP Server) and ABAP Platform
- 9.1 [CVE-2020-26808] Code Injection in SAP AS ABAP and S/4 HANA (DMIS)