SAP Enterprise Portal – XSS RunContentCreation

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.10
  • EP-RUNTIME 7.11
  • EP-RUNTIME 7.20
  • EP-RUNTIME 7.30
  • EP-RUNTIME 7.31
  • EP-RUNTIME 7.40
  • EP-RUNTIME 7.50

(Check SAP Note 3059764 for detailed information on affected releases)

VULNERABILITY DETAILS

The SAP Portal servlet com.sap.portal.ivs.initialcontentrunner.RunContentCreation does not sufficiently sanitize inputs, allowing javascript to be inserted in the web page.

The attacker creates a link to the SAP Portal running the vulnerable component. This link contains malicious javascript code as a parameter. When a victim clicks the link, the vulnerable component will send the victim a legitimate web page that has the malicious javascript chosen by the attacker. The victim’s browser will run the javascript in the context of the SAP Portal, allowing it to read and modify data associated with the Portal.

SOLUTION

SAP has released SAP Note 3072920 which provides patched versions of the affected components.

The patches can be downloaded from: https://launchpad.support.sap.com/#/notes/3072920.

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-0022
  • Vulnerability Submission ID: 888
  • 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

Ready to eliminate your SAP cyber security blindspot?

Let us show you how simple it can be to protect your business applications.