Advisory
A note with CVSS 6.3 for component EHS-BD-TLS was released by SAP on 09.06.2020. The correction/advisory 2540180 was described with "Switchable Authorization checks for RFC in Environment, Health & Safety" and affects the system type ABAP.
A workaround exists, according to SAP Security Advisory team. It is advisable to implement the correction as project***.
The vulnerability addressed is missing authorization check within ABAP.
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
An authenticated attacker can execute business function via calling function modules from remote without being properly authorized with business authorizations.Solution
Additional authorization checks are introduced via the Switchable Authorization Framework (SACF) for new authorization object C_AFKO_AWA, V_LIKP_VST, C_SHEB_TWL and C_STUE_BER for Scenarios EHS_PS_GLM_PROC_ORD, EHS_PS_GLM - EHS and EHS_PS_BOMBOS - EHS. Although an alternative solution exists, it is advisable to apply the correction! This is the workaround, which was suggested by the SAP security experts: "Maintain strict governance on object S_RFC (no "*" in function groups or names) in all user roles. Alternatively, implement UCON and switch off remote capability of unused function modules.".
Affected System
The advisory 2540180 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_APPL 600 18
- SAP_APPL 602 18
- SAP_APPL 603 18
- SAP_APPL 604 18
- SAP_APPL 605 19
- SAP_APPL 606 18
- SAP_APPL 616 14
- SAP_APPL 617 15
- SAP_APPL 618 16
- S4CORE 100 32
- S4CORE 101 43
- S4CORE 102 46
- EA-APPL 600 5
- EA-APPL 602 5
- EA-APPL 603 5
- EA-APPL 604 5
- EA-APPL 605 6
- EA-APPL 606 6
- EA-APPL 616 6
- EA-APPL 617 7
- 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