CVE-2014-8114: Uberfire parent UberFire Framework Improperly Restricts Paths Vulnerability

MODERATE
Advisory Identifier: GHSA-6h58-c7r7-g2hw
CWE-22
Published
Advisory Summary

CVE-2014-8114 is a MODERATE uberfire framework improperly restricts paths vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Uberfire parent libraries in the Maven ecosystem. The issue involves uberfire framework improperly restricts paths. Remediation is available in the latest vendor maintenance releases.

CVE-2014-8114 at a Glance

CVE Identifier CVE-2014-8114
GHSA Identifier GHSA-6h58-c7r7-g2hw
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Uberfire parent
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2014-8114

To remediate this vulnerability, upgrade all affected Uberfire parent 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.uberfire:uberfire-parent fixed: Latest secure release
<dependency>
    <groupId>org.uberfire</groupId>
    <artifactId>uberfire-parent</artifactId>
    <version>Latest secure release</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.uberfire

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.uberfire

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

Note: The mvn dependency:tree -Dincludes=org.uberfire 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Uberfire parent, 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 UberFire Framework 0.3.x does not properly restrict paths, which allows remote attackers to (1) execute arbitrary code by uploading crafted content to FileUploadServlet or (2) read arbitrary files via vectors involving FileDownloadServlet.

CVE-2014-8114 Affected Uberfire parent Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.uberfire:uberfire-parent
Maven
≥ 0.3.0.Beta5
≤ 0.3.1.Final

References

Frequently Asked Questions

What is CVE-2014-8114?
CVE-2014-8114 is a security vulnerability in Uberfire parent involving UberFire Framework Improperly Restricts Paths under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Uberfire parent versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.uberfire:uberfire-parent.
What version fixes CVE-2014-8114?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is uberfire-parent affected?
Yes, org.uberfire:uberfire-parent is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2014-8114?
CVE-2014-8114 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check Maven dependencies for CVE-2014-8114?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.uberfire'. 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-6h58-c7r7-g2hw",
  "modified" : "2023-08-16T22:23:43Z",
  "published" : "2022-05-14T01:10:41Z",
  "aliases" : [ "CVE-2014-8114" ],
  "summary" : "UberFire Framework Improperly Restricts Paths",
  "details" : "The UberFire Framework 0.3.x does not properly restrict paths, which allows remote attackers to (1) execute arbitrary code by uploading crafted content to FileUploadServlet or (2) read arbitrary files via vectors involving FileDownloadServlet.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.uberfire:uberfire-parent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.3.0.Beta5"
      }, {
        "last_affected" : "0.3.1.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-8114"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/uberfire/uberfire/commit/21ec50eb15"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200227080813/http://www.securityfocus.com/bid/88199"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-0234.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-0235.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-16T22:23:43Z",
    "nvd_published_at" : "2015-02-20T16:59:00Z"
  }
}