CVE-2018-2504 Cross-site scripting in SAP NetWeaver AS Java (ServerCore)
Attackers can exploit HTTP Host Header Manipulation to trigger Cross-Site Scripting in SAP NetWeaver AS Java Web Container.
- 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-2504?
CVE-2018-2504 is a medium-severity cross-site scripting vulnerability in Sap Netweaver Application Server Java, published on 11 Dec 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
SAP NetWeaver AS Java Web Container service does not validate against whitelist the HTTP host header which can result in HTTP Host Header Manipulation or Cross-Site Scripting (XSS) vulnerability. This is fixed in versions 7.10, 7.11, 7.20, 7.30, 7.31, 7.40, 7.50.
Weakness: CWE-79
Which versions are affected by CVE-2018-2504?
It affects 1 product.
Products include Sap Netweaver Application Server Java.
How do I fix CVE-2018-2504?
No fix has been published for CVE-2018-2504 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-2504 being exploited?
There is no known exploitation of CVE-2018-2504 in the wild and no public exploit code.
Other vulnerabilities in Sap Netweaver Application Server Java
Sources
Also known as GHSA-68g7-p6mm-52jc.