Advisory
On 11.06.2024 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within ABAP.
SAP Note 3465455 addresses "[CVE-2024-37176] Missing Authorization check in SAP BW/4HANA Transformation and DTP" to prevent missing authorization check with a medium risk for exploitation.
A workaround does exist, according to SAP Security Advisory team. It is advisable to implement the correction as monthly patch process, the team suggests.
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 manual pre-implementation steps. SAP BW/4HANA Transformation and Data Transfer Process (DTP) allows an authenticated attacker gain higher access levels they are not allowed to have by taking advantage of improper authorization checks, resulting in an escalation of privileges.Solution
By applying the note, users will not be able to run arbitrary functions in SAP BW/4HANA Transformation and DTP. They will only be able to run functions that are specifically added to the allowlist, so any misuse of the functions can be prevented. Circumstances exist that prevent the timely installation of a patch provided by the manufacturer. In such cases, you may consider applying the suggested workaround as a temporary or compensating mitigation: "a) Mitigation via restricting authorization for S_RFC Using transaction SUIM, you can verify that no user has authorizations for remote access to the function. Check for S_RFC with RFC_TYPE = FUNC and RFC_NAME = RSDHA_CALL_AMDP or RFC_TYPE = FUGR and RFC_NAME = RSDHA_HAAP b) Mitigation via UCON blocking If you have configured UCON (even if your project still just is about logging) you can block remote access to this remote enabled function RSDHA_CALL_AMDP. You can select for RSDHA* to block all 6 remote functions of this component. Blocking = Phase ‘Final’ without assignment to a Communication Assembly".
Affected System
The advisory 3465455 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 200 9
- DW4CORE 300 6
- DW4CORE 400 3
- DW4CORE 796
- SAP_BW 740 12
- SAP_BW 750-758 4
- 10.0 [CVE-2021-37535] Missing Authorization check in SAP NetWeaver Application Server for Java (JMS Connector Service)
- 10.0 [Multiple CVE IDs] Missing Authentication Check in SAP Solution Manager (JAVA stack)
- 9.8 [CVE-2023-40309] Missing Authorization check in SAP CommonCryptoLib
- 9.6 [CVE-2023-31403] Improper Access Control vulnerability in SAP Business One product installation
- 9.6 [CVE-2024-33006] File upload vulnerability in SAP NetWeaver Application Server ABAP and ABAP Platform