CVE-2020-11976: Wicket core Exposure Of Sensitive Information To Vulnerability

HIGH
Advisory Identifier: GHSA-64gv-3pqv-299h
CVSS 7.5
CWE-552 CWE-200
Published
Advisory Summary

CVE-2020-11976 is a HIGH (CVSS 7.5) exposure of sensitive information to vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting Wicket core libraries in the Maven ecosystem. The issue involves exposure of sensitive information to an unauthorized actor in apache wicket. Remediation is available by upgrading affected packages to version 7.17.0, 8.9.0, 9.0.0.

CVE-2020-11976 at a Glance

CVE Identifier CVE-2020-11976
GHSA Identifier GHSA-64gv-3pqv-299h
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-552: Files or Directories Accessible to External Parties
Affected Product Wicket core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

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

How to Fix CVE-2020-11976

To remediate this vulnerability, upgrade all affected Wicket core 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.wicket:wicket-core fixed: 7.17.0
<dependency>
    <groupId>org.apache.wicket</groupId>
    <artifactId>wicket-core</artifactId>
    <version>7.17.0</version>
</dependency>
org.apache.wicket:wicket-core fixed: 8.9.0
<dependency>
    <groupId>org.apache.wicket</groupId>
    <artifactId>wicket-core</artifactId>
    <version>8.9.0</version>
</dependency>
org.apache.wicket:wicket-core fixed: 9.0.0
<dependency>
    <groupId>org.apache.wicket</groupId>
    <artifactId>wicket-core</artifactId>
    <version>9.0.0</version>
</dependency>
org.apache.wicket:wicket-core fixed: 9.0.0
<dependency>
    <groupId>org.apache.wicket</groupId>
    <artifactId>wicket-core</artifactId>
    <version>9.0.0</version>
</dependency>
org.apache.wicket:wicket-core fixed: 9.0.0
<dependency>
    <groupId>org.apache.wicket</groupId>
    <artifactId>wicket-core</artifactId>
    <version>9.0.0</version>
</dependency>
org.apache.wicket:wicket-core fixed: 9.0.0
<dependency>
    <groupId>org.apache.wicket</groupId>
    <artifactId>wicket-core</artifactId>
    <version>9.0.0</version>
</dependency>
org.apache.wicket:wicket-core fixed: 9.0.0
<dependency>
    <groupId>org.apache.wicket</groupId>
    <artifactId>wicket-core</artifactId>
    <version>9.0.0</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.wicket

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.wicket 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-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In Wicket core, 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

By crafting a special URL it is possible to make Wicket deliver unprocessed HTML templates. This would allow an attacker to see possibly sensitive information inside a HTML template that is usually removed during rendering. Affected are Apache Wicket versions 7.16.0, 8.8.0 and 9.0.0-M5

CVE-2020-11976 Affected Wicket core Versions

7 component(s)
Fixed Versions:
7.17.08.9.09.0.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.wicket:wicket-core
Maven
< 7.17.0
7.17.0
org.apache.wicket:wicket-core
Maven
≥ 8.0.0
< 8.9.0
8.9.0
org.apache.wicket:wicket-core
Maven
≥ 9.0.0-M1
< 9.0.0
All 1 versions
9.0.0-M1
9.0.0
org.apache.wicket:wicket-core
Maven
≥ 9.0.0-M2
< 9.0.0
All 1 versions
9.0.0-M2
9.0.0
org.apache.wicket:wicket-core
Maven
≥ 9.0.0-M3
< 9.0.0
All 1 versions
9.0.0-M3
9.0.0
org.apache.wicket:wicket-core
Maven
≥ 9.0.0-M4
< 9.0.0
All 1 versions
9.0.0-M4
9.0.0
org.apache.wicket:wicket-core
Maven
≥ 9.0.0-M5
< 9.0.0
All 1 versions
9.0.0-M5
9.0.0

References

Frequently Asked Questions

What is CVE-2020-11976?
CVE-2020-11976 is a security vulnerability in Wicket core involving Exposure of Sensitive Information to an Unauthorized Actor in Apache Wicket under CWE-552: Files or Directories Accessible to External Parties.
Which Wicket core versions are affected?
Affected versions include releases prior to 7.17.0, 8.9.0, 9.0.0 across affected packages: org.apache.wicket:wicket-core.
What version fixes CVE-2020-11976?
Upgrading to 7.17.0, 8.9.0, 9.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is wicket-core affected?
Yes, org.apache.wicket:wicket-core is affected in releases prior to 7.17.0, 8.9.0, 9.0.0. Upgrade your dependency to 7.17.0, 8.9.0, 9.0.0 or later.
What is the CVSS score of CVE-2020-11976?
CVE-2020-11976 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2020-11976?
CVE-2020-11976 is classified under CWE-552: Files or Directories Accessible to External Parties (The product makes files or directories accessible to unauthorized actors, even though they should not be.).
How can I check Maven dependencies for CVE-2020-11976?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.wicket'. 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-64gv-3pqv-299h",
  "modified" : "2021-05-05T22:31:00Z",
  "published" : "2021-05-07T15:54:15Z",
  "aliases" : [ "CVE-2020-11976" ],
  "summary" : "Exposure of Sensitive Information to an Unauthorized Actor in Apache Wicket",
  "details" : "By crafting a special URL it is possible to make Wicket deliver unprocessed HTML templates. This would allow an attacker to see possibly sensitive information inside a HTML template that is usually removed during rendering. Affected are Apache Wicket versions 7.16.0, 8.8.0 and 9.0.0-M5",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.wicket:wicket-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "7.17.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.wicket:wicket-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "fixed" : "8.9.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.wicket:wicket-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0-M1"
      }, {
        "fixed" : "9.0.0"
      } ]
    } ],
    "versions" : [ "9.0.0-M1" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.wicket:wicket-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0-M2"
      }, {
        "fixed" : "9.0.0"
      } ]
    } ],
    "versions" : [ "9.0.0-M2" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.wicket:wicket-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0-M3"
      }, {
        "fixed" : "9.0.0"
      } ]
    } ],
    "versions" : [ "9.0.0-M3" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.wicket:wicket-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0-M4"
      }, {
        "fixed" : "9.0.0"
      } ]
    } ],
    "versions" : [ "9.0.0-M4" ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.wicket:wicket-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0-M5"
      }, {
        "fixed" : "9.0.0"
      } ]
    } ],
    "versions" : [ "9.0.0-M5" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-11976"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r05340178680eb6b9d4d40d56b5621dd4ae9715e6f41f12ae2288ec49@%3Cdev.directory.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r104eeefeb1e9da51f7ef79cef0f9ff12e21ef8559b77801e86b21e16%40%3Cusers.wicket.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r982c626dbce5c995223c4a6ddd7685de3592f8d65ba8372da1f3ce19@%3Cdev.directory.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rd0f36b83cc9f28b016ec552f023fb5a59a9ea8db56f2b9dcc6a2f6b7@%3Ccommits.directory.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rd26cae6e30b205e09e4b511d3d962d4f677c0c604f737997ce1b2f22@%3Cdev.directory.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rdec0a43afdca59c10416889e07267f3d2fdf4ab929a6e22a2659b6ff@%3Cdev.directory.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/re4af65851bf69605cfb68be215eba36d4cdc1a90b95fbc894799d923@%3Cdev.directory.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/reb7ea8141c713b5b19eaf34c00f43aaebf5a1c116130f763c42bdad1@%3Cdev.directory.apache.org%3E"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-552" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-05T22:31:00Z",
    "nvd_published_at" : "2020-08-11T19:15:00Z"
  }
}