SAP Enterprise Portal – XSS NavigationReporter

January 26, 2022

IMPACT ON BUSINESS Impact depends on the victim’s privileges. In the worst case, a successful attack allows an attacker to hijack an administrator session and perform actions like exfiltrate data, change data or shutdown the Portal. AFFECTED COMPONENTS DESCRIPTION SAP Enterprise Portal is a web frontend component for SAP Netweaver. Affected components:
  • EP-RUNTIME 7.30
  • EP-RUNTIME 7.31
  • EP-RUNTIME 7.40
  • EP-RUNTIME 7.50
(Check SAP Note 3072920 for detailed information on affected releases) VULNERABILITY DETAILS The SAP Portal servlet com.sap.tc~ep~nav~reporter.NavigationReporter does not sufficiently sanitize the input url stored during portal navigation, allowing javascript to be injected in the web page. The attacker could craft a malicious link that would force the victim to store the javascript in the portal. Then the victim must navigate to the vulnerable servlet to trigger the injected script. SOLUTION SAP has released SAP Note 3059764 which provides patched versions of the affected components. The patches can be downloaded from: https://launchpad.support.sap.com/#/notes/3059764. Onapsis strongly recommends SAP customers to download the related security fixes and apply them to the affected components in order to reduce business risks. REPORT TIMELINE
  • 04/28/2021: Onapsis sends details to SAP
  • 04/28/2021: SAP provides internal ID
  • 08/10/2021: SAP releases SAP Note fixing the issue.
REFERENCES
Advisory Information
  • Public Release Date: 01/26/2022
  • Security Advisory ID: ONAPSIS-2021-0021
  • Vulnerability Submission ID: 887
  • Researcher(s): Yvan Genuer
Vulnerability Information
  • Vendor: SAP
  • Vulnerability Class: |LS|CWE-79|RS| Improper Neutralization of Input During Web Page Generation
  • CVSS v3 score: 8.3 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Severity: High
  • CVE: CVE-2021-33702
  • Vendor patch Information: SAP Security Note 3059764

ABOUT OUR RESEARCH LABS
Onapsis Research Labs provides the industry analysis of key security issues that impact mission-critical systems and applications. Delivering frequent and timely security and compliance advisories with associated risk levels, Onapsis Research Labs combine in-depth knowledge and experience to deliver technical and business-context with sound security judgment to the broader information security community. Find all reported vulnerabilities at https://github.com/Onapsis/vulnerability_advisories This advisory is licensed under a Creative Commons 4.0 BY-ND International License