CVE-2014-5325: Dwr Exposure Of Sensitive Information To Vulnerability

MODERATE
Advisory Identifier: GHSA-hqw5-62gp-rqgm
CWE-200
Published
Advisory Summary

CVE-2014-5325 is a MODERATE exposure of sensitive information to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Dwr libraries in the Maven ecosystem. The issue involves exposure of sensitive information to an unauthorized actor in direct web remoting. Remediation is available by upgrading affected packages to version 2.0.11, 3.0.RC3.

CVE-2014-5325 at a Glance

CVE Identifier CVE-2014-5325
GHSA Identifier GHSA-hqw5-62gp-rqgm
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Dwr
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2014-5325

To remediate this vulnerability, upgrade all affected Dwr dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.directwebremoting:dwr fixed: 2.0.11
<dependency>
    <groupId>org.directwebremoting</groupId>
    <artifactId>dwr</artifactId>
    <version>2.0.11</version>
</dependency>
org.directwebremoting:dwr fixed: 3.0.RC3
<dependency>
    <groupId>org.directwebremoting</groupId>
    <artifactId>dwr</artifactId>
    <version>3.0.RC3</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.directwebremoting

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2014-5325, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.directwebremoting

Analyze the terminal output to locate any version of Dwr in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.11), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.directwebremoting command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Dwr, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The (1) DOMConverter, (2) JDOMConverter, (3) DOM4JConverter, and (4) XOMConverter functions in Direct Web Remoting (DWR) through 2.0.10 and 3.x through 3.0.RC2 allow remote attackers to read arbitrary files via DOM data containing an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.

CVE-2014-5325 Affected Dwr Versions

2 component(s)
Fixed Versions:
2.0.113.0.RC3
Product / Package Ecosystem Affected Versions Fixed Version
org.directwebremoting:dwr
Maven
< 2.0.11
2.0.11
org.directwebremoting:dwr
Maven
≥ 3.0.M1
< 3.0.RC3
3.0.RC3

References

Frequently Asked Questions

What is CVE-2014-5325?
CVE-2014-5325 is a security vulnerability in Dwr involving Exposure of Sensitive Information to an Unauthorized Actor in Direct Web Remoting under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Dwr versions are affected?
Affected versions include releases prior to 2.0.11, 3.0.RC3 across affected packages: org.directwebremoting:dwr.
What version fixes CVE-2014-5325?
Upgrading to 2.0.11, 3.0.RC3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is dwr affected?
Yes, org.directwebremoting:dwr is affected in releases prior to 2.0.11, 3.0.RC3. Upgrade your dependency to 2.0.11, 3.0.RC3 or later.
What CWE is associated with CVE-2014-5325?
CVE-2014-5325 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2014-5325?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.directwebremoting'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hqw5-62gp-rqgm",
  "modified" : "2022-07-06T21:05:45Z",
  "published" : "2022-05-17T03:46:06Z",
  "aliases" : [ "CVE-2014-5325" ],
  "summary" : "Exposure of Sensitive Information to an Unauthorized Actor in Direct Web Remoting",
  "details" : "The (1) DOMConverter, (2) JDOMConverter, (3) DOM4JConverter, and (4) XOMConverter functions in Direct Web Remoting (DWR) through 2.0.10 and 3.x through 3.0.RC2 allow remote attackers to read arbitrary files via DOM data containing an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.directwebremoting:dwr"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.11"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.directwebremoting:dwr"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.M1"
      }, {
        "fixed" : "3.0.RC3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.RC2"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-5325"
  }, {
    "type" : "WEB",
    "url" : "http://jvn.jp/en/jp/JVN91502163/index.html"
  }, {
    "type" : "WEB",
    "url" : "http://jvndb.jvn.jp/jvndb/JVNDB-2014-000117"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-06T21:05:45Z",
    "nvd_published_at" : "2014-11-24T02:59:00Z"
  }
}