Advisory
A note with CVSS 4.8 for component EP-PIN-PRT was released by SAP on 14.09.2021. The correction/advisory 3082219 was described with "[CVE-2021-21489] Cross-Site Scripting (XSS) vulnerability in SAP NetWeaver Enterprise Portal" and affects the system type Java.
A workaround does not exist, according to SAP Security Advisory team. It is advisable to implement the correction as part of maintenance.
The vulnerability addressed is Cross-Site Scripting (XSS) within Java.
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
SAP NetWeaver Portal does not sufficiently encode user-controlled inputs, resulting in Cross-Site Scripting (XSS) vulnerability which would allow an authenticated attacker with high privileges to store malicious script on the system.Solution
The URL parameters are now properly encoded to prevent a successful XSS attack.
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.20 2
- EP-BASIS 7.30 4
- EP-BASIS 7.31 4
- EP-BASIS 7.40 4
- EP-BASIS 7.50 5
- EP-RUNTIME 7.10-7.11 6
- EP-RUNTIME 7.20 6
- EP-RUNTIME 7.30 7
- EP-RUNTIME 7.31 8
- EP-RUNTIME 7.40 8
- EP-RUNTIME 7.50 9
- 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