Advisory
On 12.04.2022 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within ABAP.
SAP Note 3163703 addresses "Multiple Vulnerabilities in URI.js bundled with SAPUI5" to prevent url redirection vulnerability 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 part of maintenance, 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
SAPUI5 is bundled with the third-party library URI.js and is using it for URL transformation. URI.js is vulnerable to URL Redirection to Untrusted Site, it also allows the hostname can be spoofed by using a backslash (`\`) character followed by an at (`@`) character. Additionally URI.js mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.Solution
SAPUI5 is now using URI.js version 1.19.10 or higher
Affected System
The advisory 3163703 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_UI 750 18
- SAP_UI 753 18
- SAP_UI 754 26
- SAP_UI 755 22
- SAP_UI 756 16
- UI_700 200 10
- 6.5 [CVE-2023-23855] URL Redirection vulnerability in SAP Solution Manager
- 6.1 [CVE-2021-33707] URL Redirection vulnerability in SAP NetWeaver (Knowledge Management)
- 6.1 [CVE-2022-41207] URL Redirection vulnerability in SAP Biller Direct
- 6.1 [CVE-2022-41275] Offener Redirect in SAP Solutions Manager (Enterprise Search)
- 5.4 [CVE-2020-6266] URL redirection in SAP Fiori for SAP S/4HANA