CVE-2013-4378 Improper Neutralization of Input During Web Page Generation in JavaMelody

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via a crafted X-Forwarded-For header in JavaMelody, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-4378?

CVE-2013-4378 is a medium-severity cross-site scripting vulnerability in n/a, published on 30 Sep 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Cross-site scripting (XSS) vulnerability in HtmlSessionInformationsReport.java in JavaMelody 1.46 and earlier allows remote attackers to inject arbitrary web script or HTML via a crafted X-Forwarded-For header.

Weakness: CWE-79

Which versions are affected by CVE-2013-4378?

2 open source packages ship an affected version, including net.bull.javamelody:javamelody-core. It affects 1 product.

PackageAffectedFixed in
net.bull.javamelody:javamelody-core MavenAll versions1.47.0
net.bull.javamelody:javamelody-core MavenAll versions1.47.0

Products include Emeric Vernat Javamelody.

How do I fix CVE-2013-4378?

Upgrade net.bull.javamelody:javamelody-core to 1.47.0 or later.

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-2013-4378 being exploited?

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

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as GHSA-p4mx-p49m-8rw4.

Is CVE-2013-4378 in your software?

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

Check your SBOMs for free