Advisory
On 25.01.2022 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within ABAP.
SAP Note 3107196 addresses "Cross-Site Request Forgery (CSRF) vulnerability in SAP NetWeaver AS ABAP within Web Dynpro ABAP" to prevent Cross-Site Scripting (XSS) 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.
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
Web Dynpro ABAP does not sufficiently encode user-controlled inputs, resulting in Cross-Site Scripting (XSS) vulnerability which would allow an unauthenticated attacker to steal session credentials.Solution
The newest Unified Rendering release attached in note 312874 and consider to exercise manual activities separately for each system this note which you transport the note for implementation.
Affected System
The advisory 3107196 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_BASIS 701-702 2
- SAP_BASIS 731 78
- SAP_BASIS 786-787
- SAP_BASIS 804 10
- SAP_UI 750 18
- SAP_UI 752 8
- SAP_UI 753 18
- SAP_UI 754 26
- SAP_UI 755 22
- SAP_UI 756 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