CVE-2016-6801: Jackrabbit webdav Apache Jackrabbit Authentication Hijacking Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-9fc7-rhq3-wm7x
CVSS 8.8
CWE-352
Published
Advisory Summary

CVE-2016-6801 is a HIGH (CVSS 8.8) apache jackrabbit authentication hijacking vulnerability vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Jackrabbit webdav libraries in the Maven ecosystem. The issue involves apache jackrabbit authentication hijacking vulnerability. Remediation is available by upgrading affected packages to version 2.4.6, 2.6.6, 2.8.3, 2.10.4, 2.12.4, 2.13.3.

CVE-2016-6801 at a Glance

CVE Identifier CVE-2016-6801
GHSA Identifier GHSA-9fc7-rhq3-wm7x
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Jackrabbit webdav
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2016-6801

To remediate this vulnerability, upgrade all affected Jackrabbit webdav 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.apache.jackrabbit:jackrabbit-webdav fixed: 2.4.6
<dependency>
    <groupId>org.apache.jackrabbit</groupId>
    <artifactId>jackrabbit-webdav</artifactId>
    <version>2.4.6</version>
</dependency>
org.apache.jackrabbit:jackrabbit-webdav fixed: 2.6.6
<dependency>
    <groupId>org.apache.jackrabbit</groupId>
    <artifactId>jackrabbit-webdav</artifactId>
    <version>2.6.6</version>
</dependency>
org.apache.jackrabbit:jackrabbit-webdav fixed: 2.8.3
<dependency>
    <groupId>org.apache.jackrabbit</groupId>
    <artifactId>jackrabbit-webdav</artifactId>
    <version>2.8.3</version>
</dependency>
org.apache.jackrabbit:jackrabbit-webdav fixed: 2.10.4
<dependency>
    <groupId>org.apache.jackrabbit</groupId>
    <artifactId>jackrabbit-webdav</artifactId>
    <version>2.10.4</version>
</dependency>
org.apache.jackrabbit:jackrabbit-webdav fixed: 2.12.4
<dependency>
    <groupId>org.apache.jackrabbit</groupId>
    <artifactId>jackrabbit-webdav</artifactId>
    <version>2.12.4</version>
</dependency>
org.apache.jackrabbit:jackrabbit-webdav fixed: 2.13.3
<dependency>
    <groupId>org.apache.jackrabbit</groupId>
    <artifactId>jackrabbit-webdav</artifactId>
    <version>2.13.3</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.apache.jackrabbit

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.apache.jackrabbit

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

Note: The mvn dependency:tree -Dincludes=org.apache.jackrabbit 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Jackrabbit webdav, 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

Cross-site request forgery (CSRF) vulnerability in the CSRF content-type check in Jackrabbit-Webdav in Apache Jackrabbit 2.4.x before 2.4.6, 2.6.x before 2.6.6, 2.8.x before 2.8.3, 2.10.x before 2.10.4, 2.12.x before 2.12.4, and 2.13.x before 2.13.3 allows remote attackers to hijack the authentication of unspecified victims for requests that create a resource via an HTTP POST request with a (1) missing or (2) crafted Content-Type header.

CVE-2016-6801 Affected Jackrabbit webdav Versions

6 component(s)
Fixed Versions:
2.4.62.6.62.8.32.10.42.12.42.13.3
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.jackrabbit:jackrabbit-webdav
Maven
≥ 2.4.0
< 2.4.6
2.4.6
org.apache.jackrabbit:jackrabbit-webdav
Maven
≥ 2.6.0
< 2.6.6
2.6.6
org.apache.jackrabbit:jackrabbit-webdav
Maven
≥ 2.8.0
< 2.8.3
2.8.3
org.apache.jackrabbit:jackrabbit-webdav
Maven
≥ 2.10.0
< 2.10.4
2.10.4
org.apache.jackrabbit:jackrabbit-webdav
Maven
≥ 2.12.0
< 2.12.4
2.12.4
org.apache.jackrabbit:jackrabbit-webdav
Maven
≥ 2.13.0
< 2.13.3
2.13.3

References

Frequently Asked Questions

What is CVE-2016-6801?
CVE-2016-6801 is a security vulnerability in Jackrabbit webdav involving Apache Jackrabbit Authentication Hijacking Vulnerability under CWE-352: Cross-Site Request Forgery (CSRF).
Which Jackrabbit webdav versions are affected?
Affected versions include releases prior to 2.4.6, 2.6.6, 2.8.3, 2.10.4, 2.12.4, 2.13.3 across affected packages: org.apache.jackrabbit:jackrabbit-webdav.
What version fixes CVE-2016-6801?
Upgrading to 2.4.6, 2.6.6, 2.8.3, 2.10.4, 2.12.4, 2.13.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jackrabbit-webdav affected?
Yes, org.apache.jackrabbit:jackrabbit-webdav is affected in releases prior to 2.4.6, 2.6.6, 2.8.3, 2.10.4, 2.12.4, 2.13.3. Upgrade your dependency to 2.4.6, 2.6.6, 2.8.3, 2.10.4, 2.12.4, 2.13.3 or later.
What is the CVSS score of CVE-2016-6801?
CVE-2016-6801 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2016-6801?
CVE-2016-6801 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check Maven dependencies for CVE-2016-6801?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.jackrabbit'. 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-9fc7-rhq3-wm7x",
  "modified" : "2023-11-07T21:16:23Z",
  "published" : "2022-05-17T03:48:02Z",
  "aliases" : [ "CVE-2016-6801" ],
  "summary" : "Apache Jackrabbit Authentication Hijacking Vulnerability",
  "details" : "Cross-site request forgery (CSRF) vulnerability in the CSRF content-type check in Jackrabbit-Webdav in Apache Jackrabbit 2.4.x before 2.4.6, 2.6.x before 2.6.6, 2.8.x before 2.8.3, 2.10.x before 2.10.4, 2.12.x before 2.12.4, and 2.13.x before 2.13.3 allows remote attackers to hijack the authentication of unspecified victims for requests that create a resource via an HTTP POST request with a (1) missing or (2) crafted Content-Type header.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.jackrabbit:jackrabbit-webdav"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.4.0"
      }, {
        "fixed" : "2.4.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.jackrabbit:jackrabbit-webdav"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.6.0"
      }, {
        "fixed" : "2.6.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.jackrabbit:jackrabbit-webdav"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.0"
      }, {
        "fixed" : "2.8.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.jackrabbit:jackrabbit-webdav"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.10.0"
      }, {
        "fixed" : "2.10.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.jackrabbit:jackrabbit-webdav"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.12.0"
      }, {
        "fixed" : "2.12.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.jackrabbit:jackrabbit-webdav"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.13.0"
      }, {
        "fixed" : "2.13.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-6801"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/jackrabbit/commit/16f2f02fcaef6202a2bf24c449d4fd10eb98f08d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/jackrabbit/commit/ea75d7c2aeaafecd9ab97736bf81c5616f703244"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/jackrabbit/commit/eae001a54aae9c243ac06b5c8f711b2cb2038700"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/jackrabbit"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/JCR-4009"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20210123170657/http://www.securityfocus.com/bid/92966"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2016/dsa-3679"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2016/09/14/6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-31T22:54:02Z",
    "nvd_published_at" : "2016-09-21T14:25:00Z"
  }
}