Advisory
On 08.04.2025 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within ABAP.
SAP Note 3577131 addresses "[CVE-2025-31331] Authorization Bypass vulnerability in SAP NetWeaver" 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 specification
This note has been re-released with updated Correction Instruction information. In SAP NetWeaver, an authenticated attacker can bypass authorization checks to execute a specific transaction, exposing sensitive system code.Solution
The issue has been resolved by implementing an additional authorization check.
Affected System
The advisory 3577131 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_ABA 700-702 6
- SAP_ABA 731 6
- SAP_ABA 740 7
- SAP_ABA 750-752 7
- SAP_ABA 75C-816
- 9.9 [CVE-2022-41272] Improper access control in SAP NetWeaver AS Java (User Defined Search)
- 9.4 [CVE-2022-41271] Improper access control in SAP NetWeaver AS Java (Messaging System)
- 8.8 [CVE-2025-42951] Broken Authorization in SAP Business One (SLD)
- 6.3 [CVE-2020-6212] Missing Authorization Check in SAP ERP & S/4 HANA (Egypt localized Withholding Tax reports)