Advisory
On 13.04.2021 a security relevant correction has been released by SAP SE. The manufacturer resolves an issue within Java.
SAP Note 2963592 addresses "[CVE-2021-27601] Cross-Site Scripting (XSS) vulnerability in SAP NetWeaver AS Java (Applications based on HTMLB for Java)" 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 part of maintenance, the team suggests.
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
An attacker with basic privileges is able to store a malicious file on the SAP NetWeaver Application Server Java. When a victim tries to open this particular file it results in a Cross-Site Scripting vulnerability and the attacker will be able to read and modify data but does not have control over kind and degree.Solution
The HTMLB for Java framework encodes uploaded files correctly at the server-side now.
Affected System
SAP Netweaver Application Server Java is part of the SAP NetWeaver Application Platform. It provides the complete infrastructure for deploying and running Java applications.
- The AS Java Home: SAP Netweaver Application Server Java wiki
- A dedicated SAP NetWeaver 7.40 Application Server for Java Security Guide exists.
The advisory is valid for
- EP-BASIS 7.10-7.11 4
- EP-BASIS 7.30 4
- EP-BASIS 7.31 4
- EP-BASIS 7.40 4
- EP-BASIS 7.50 5
- FRAMEWORK 7.10-7.11 6
- FRAMEWORK-EXT 7.30 3
- FRAMEWORK-EXT 7.31 3
- FRAMEWORK-EXT 7.40 3
- FRAMEWORK-EXT 7.50 3
- 8.8 [CVE-2024-22126] Cross Site Scripting vulnerability in NetWeaver AS Java (User Admin Application)
- 8.7 [CVE-2023-42472] Insufficient File type validation in SAP BusinessObjects Business Intelligence Platform (Web Intelligence HTML interface)
- 8.3 [CVE-2021-33702] Cross-Site Scripting (XSS) vulnerability in SAP NetWeaver Enterprise Portal
- 8.3 [CVE-2021-33703] Cross-Site Scripting (XSS) vulnerability in SAP NetWeaver Enterprise Portal
- 8.2 [CVE-2023-33991] Stored Cross-Site Scripting vulnerability in SAP UI5 (Variant Management)