Advisory
On 09.07.2024 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within ABAP.
SAP Note 3483344 addresses "[CVE-2024-39592] Missing Authorization check in SAP PDCE" to prevent missing authorization check with a high 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 'Correction instruction' information (a fix was also provided for SEM-BW 600). Elements of SAP PDCE allow an authenticated attacker to read sensitive information and resulting in escalation of privileges.Solution
The correction deactivates the obsolete function. No regression testing required. 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: "You can block all related functions of the whole function group. The whole component is obsolete in S/4HANA. Caution: The function exist in older releases too. In such systems, block function group if not in use. Options for workarounds: - Restrict authorizations for S_RFC by not granting authorizations for function UA_RFC_PDCE_FIELD_QUERY_R3 respective for function groups UA_RFC_PDCE and UA_RFC_CONNECTOR- Block the function UA_RFC_PDCE_FIELD_QUERY_R3 using UCON respective all functions of the function groups UA_RFC_PDCE (81 functions) and UA_RFC_CONNECTOR (8 functions)- Restrict the SLDW access control lists RFC_READ_TABLE_TABL (list of programs which can call the function) and RFC_READ_TABLE_CALL (list of tables which are accessible), see note 2246160- Check Security Audit Log events CUZ, DUL and DUM ".
Affected System
The advisory 3483344 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
- S4CORE 102 48
- S4CORE 103 52
- S4COREOP 104 3
- S4COREOP 105
- S4COREOP 106
- S4COREOP 107
- S4COREOP 108
- SEM-BW 600
- SEM-BW 602
- SEM-BW 603
- SEM-BW 604
- SEM-BW 605
- SEM-BW 634
- SEM-BW 736
- SEM-BW 746
- SEM-BW 747
- SEM-BW 748
- 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