CVE-2014-5326 Improper Neutralization of Input During Web Page Generation in Direct Web Remoting

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML into applications using the DWR library, potentially compromising user sessions.

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
Available

What is CVE-2014-5326?

CVE-2014-5326 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Nov 2014. 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

Cross-site scripting (XSS) vulnerability in Direct Web Remoting (DWR) through 2.0.10 and 3.x through 3.0.RC2 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

Weakness: CWE-79

Which versions are affected by CVE-2014-5326?

4 open source packages ship an affected version, including org.directwebremoting:dwr. It affects 1 product.

PackageAffectedFixed in
org.directwebremoting:dwr MavenAll versions2.0.11
org.directwebremoting:dwr MavenAll versions2.0.11
org.directwebremoting:dwr MavenFrom 3.0.M13.0.RC3
org.directwebremoting:dwr MavenFrom 3.0.M13.0.RC3
Linux distribution packages (2)
dwr SUSE:Manager Server 3.0All versions3.0rc2+svn4059-0.12.3.1
dwr SUSE:Manager Server 3.1All versions3.0rc2+svn4059-0.12.3.10

Products include Directwebremoting Direct Web Remoting.

How do I fix CVE-2014-5326?

Upgrade org.directwebremoting:dwr to a fixed version for your release line: 2.0.11 or 3.0.RC3.

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-2014-5326 being exploited?

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

Sources

Also known as GHSA-q5v2-2v66-6hwm, SUSE-SU-2018:1743-1, SUSE-SU-2018:1745-1.

Is CVE-2014-5326 in your software?

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

Check your SBOMs for free