Advisory
On 14.06.2022 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within SAProuter.
SAP Note 3158375 addresses "[CVE-2022-27668] Improper Access Control of SAProuter for SAP NetWeaver and ABAP Platform" 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
SAProuter for SAP NetWeaver and ABAP Platform allows through improper configuration in the route permission table "saprouttab" to execute SAProuter administration commands.Solution
SAProuter now restricts properly administration commands as intended. 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 workaround is to replace all wildcards for the target host in saprouttab 'P' and 'S' entries with specific hostnames or IP addresses. Please assess the workaround applicability for your SAP landscape prior to implementation. Note that this workaround is a temporary fix and is not a permanent solution. SAP strongly recommends you apply the corrections outlined in the security note, which can be done in lieu of the workaround or after the workaround is implemented.".
The advisory is valid for
- KERNEL 7.49 23
- KERNEL 7.77 34
- KERNEL 7.81 24
- KERNEL 7.85 25
- KERNEL 7.86 10
- KERNEL 7.87 7
- KERNEL 7.88 5
- KRNL64NUC 7.49 24
- KRNL64UC 7.49 24
- SAP_ROUTER 7.22
- SAP_ROUTER 7.53
- 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