Advisory
A note with CVSS 4.1 for component CA-WUI-UI was released by SAP on 12.04.2022. The correction/advisory 3101986 was described with "Prepare CSP support for On-Premise down port for code dependency in SAP CRM WebClient UI" and affects the system type ABAP.
A workaround does not exist, according to SAP Security Advisory team. It is advisable to implement the correction as monthly patch process.
The vulnerability addressed is Cross-Site Scripting (XSS) within ABAP.
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.
Cross-site scripting (XSS) is the name of a class of security vulnerabilities that can occur in web-based
applications. XSS combines
all vulnerabilities that allow an attacker to inject HTML Markup and/or JavaScript into the front end of the
affected web application.
XSS attacks can occur whenever the application dynamically creates its HTML/JavaScript/CSS content, which is passed
to the
user's web browser, and attacker-controlled values are used in this process. If these values are included in the
generated code without proper validation and encoding, the attacker is able to include arbitrary
coding snippets into the application's front end. The code is then rendered by the victim's web browser and
interpreted in the victim's current authentication context.
Risk specification
This note has been re-released with textual changes. The product standard security requires use of secure UI frameworks and support of a basic CSP (Content Security Policy). Content security policies are a powerful means for reducing the risk of cross-site scripting.Solution
Customers will define and maintain their own policy. To enable customers to define a policy SAP needs to specify which UI technology supports which variant of CSP (i.e. regarding usage of inline scripts, usage of eval and alike). This functionality has been downported for S/4HANA 1909 on premise
Affected System
The advisory 3101986 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
- S4FND 104 16
- 9.0 [CVE-2020-6284] Cross-Site Scripting (XSS) in SAP NetWeaver (Knowledge Management)
- 8.2 [CVE-2020-6367] Cross-Site Scripting (XSS) vulnerability in SAP NetWeaver Composite Application Framework
- 8.1 [CVE-2024-37177] Cross-Site Scripting (XSS) vulnerabilities in SAP Financial Consolidation
- 8.1 [CVE-2022-26101] Cross-Site Scripting (XSS) vulnerability in SAP Fiori launchpad
- 7.6 [CVE-2023-39437] Cross-Site Scripting (XSS) vulnerability in SAP Business One