CVE-2018-2371 Cross-site scripting in SAP NetWeaver Java Web Application

Medium 6.1 Published Updated

Cross-site scripting in SAP NetWeaver Java allows attackers to inject malicious scripts, potentially leading to session hijacking or data theft.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2018-2371?

CVE-2018-2371 is a medium-severity cross-site scripting vulnerability in SAP NetWeaver Java Web Application, published on 14 Feb 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The SAML 2.0 service provider of SAP Netweaver AS Java Web Application, 7.50, does not sufficiently encode user controlled inputs, which results in Cross-Site Scripting (XSS) vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2018-2371?

It affects 1 product.

Products include Sap Netweaver Java Web Application.

How do I fix CVE-2018-2371?

No fix has been published for CVE-2018-2371 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2018-2371 being exploited?

There is no known exploitation of CVE-2018-2371 in the wild and no public exploit code.

Sources

Also known as GHSA-8m7r-6hjg-hjwm.

Is CVE-2018-2371 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free