On 14.07.2020 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within ABAP.
SAP Note 2537961 addresses "Switchable Authorization checks for RFC in MM-PUR-GF" 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 project***, 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 specificationThis note has been re-released with the updated 'Solution’ information. An authenticated attacker can execute business function via calling function modules from remote without being properly authorized with business authorizations.
Additional authorization checks are introduced via the Switchable Authorization Framework (SACF) for new authorization object M_BEST_WRK, function modules ME_SWP_SIC_SA_GET_DEL_SCHEDULE, ME_SWP_SIC_DISP_FOR_MATERIAL, ME_SWP_SIC_SR_GET_HEADERS, ME_SWP_SIC_SR_GET_ITEMS for Scenario MM_PUR_BEST - Check for authorization Purchase order And the good news, a workaround exists, too! This 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."
The advisory 2537961 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 100 13
- S4CORE 101 19
- S4CORE 102 19
- SAPSCORE 111
- SAP_APPL 600 6
- SAP_APPL 602 6
- SAP_APPL 603 6
- SAP_APPL 604 6
- SAP_APPL 605 7
- SAP_APPL 606 6
- SAP_APPL 616 6
- SAP_APPL 617 7
- SAP_APPL 618 9
- SAP_APPL 619 2
ABEX takes the security of SAP products very seriously. We very much encourage the responsible disclosure of security vulnerabilities. If you have detected a vulnerability in one of the SAP software products – either in the latest or in a former product version follow the guidelines and processes in accordance with the SAP portal page “Report a Security Vulnerability to SAP”.
The advisories found within the ABEX security advisory are generated and continuously enriched by ABEX and affiliated security consultants, partners, customers of the SecurityBridge security suite, SAP support, and advisory groups.
There is no disclosure of zero-day vulnerabilities. In such case, the platform only provides details on which version or signature updates are available within the SecurityBridge platform in order to monitor or measure the vulnerability
In accordance with SAP guidelines, ABEX only discloses issues where the fixing security note has been released at least three months ago. The vulnerability platform makes no references to available exploits or Proof of Concepts (PoC). Advisories and vulnerabilities will always mention the fixing security note or hints to the corresponding SAP documentation.