On 14.09.2021 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within ABAP.
SAP Note 3068582 addresses "[CVE-2021-38164] Missing Authorization check in in SAP ERP Financial Accounting / RFOPENPOSTING_FR" to prevent missing authorization check with a medium risk for exploitation.
A workaround does not 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 specificationThis note has been re-released with updated attachment section. - Report RFOPENPOSTING_FR does not perform necessary authorization checks for an authenticated user, resulting in escalation of privileges.
In the source code of report RFOPENPOSTING_FR the additional authority checks for the authority-objects F_BKPF_BLA, F_BKPF_BUK, F_FAGL_LDR are now implemented.
The advisory 3068582 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 22
- S4CORE 101 31
- S4CORE 102 33
- S4CORE 103 34
- S4CORE 104 27
- S4CORE 105 13
- SAPSCORE 125 3
- SAP_APPL 600 10
- SAP_APPL 602 10
- SAP_APPL 603 10
- SAP_APPL 604 10
- SAP_APPL 605 11
- SAP_APPL 606 9
- SAP_APPL 616 8
- SAP_FIN 617 3
- SAP_FIN 618 6
- SAP_FIN 700 2
- SAP_FIN 720 4
- SAP_FIN 730 7
- 10.0 [Multiple CVE IDs] Missing Authentication Check in SAP Solution Manager (JAVA stack)
- 10.0 [CVE-2021-37535] Missing Authorization check in SAP NetWeaver Application Server for Java (JMS Connector Service)
- 9.6 [CVE-2021-21481] Missing Authorization Check in SAP NetWeaver AS JAVA (MigrationService)
- 9.6 [CVE-2020-6320] Improper Access Control in SAP Marketing (Mobile Channel Servlet)
- 9.6 [CVE-2021-40501] Missing Authorization check in ABAP Platform Kernel