Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

CVE-2018-2371 Cross-Site Scripting (XSS) Vulnerability in SAML 2.0 Service Provider of AS Java, SAP security note 2560741

SAP Note 2560741

SAP security note 2560741, “[CVE-2018-2371] Cross-Site Scripting (XSS) Vulnerability in SAML 2.0 Service Provider of AS Java”. Below are the symptom and SAP recommended solution.

Description

Symptom

The SAML 2.0 service provider of Application Server (AS) Java does not sufficiently encode user-controlled inputs, resulting in a Cross-Site Scripting (XSS) vulnerability.

Impacts of XSS Vulnerability:

  • Non-permanently defacing or modifying displayed content from a website.
  • Stealing user authentication information, such as data related to the current session.
  • Impersonating the user and accessing all information with the same rights as the target user.

Solution

Apply the latest patches relevant to the version of AS Java according to the “SP Patch Level” section of this note. With the described fix, the user-controlled input is sufficiently encoded.

Reason and prerequisites

Insufficient validation of the user input in the SAML 2.0 service provider of AS Java.

CVSS

Score 6.1 Vector: AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References

Full note on SAP: SAP Support Launchpad note 2560741

Detailed exploitation and proof-of-concept material for this note is maintained in the RedRays Security Platform. For access, contact [email protected].

Explore More