CVE-2020-11969: Tomee Missing Authentication For Critical Function Vulnerability

HIGH
Advisory Identifier: GHSA-836g-5fr5-fgcr
CVSS 9.8
CWE-306
Published
Advisory Summary

CVE-2020-11969 is a HIGH (CVSS 9.8) missing authentication for critical function vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Tomee libraries in the Maven ecosystem. The issue involves missing authentication for critical function in apache tomee. Remediation is available by upgrading affected packages to version 8.0.2, 7.1.3, 7.0.8, 1.7.6.

CVE-2020-11969 at a Glance

CVE Identifier CVE-2020-11969
GHSA Identifier GHSA-836g-5fr5-fgcr
Severity HIGH
CVSS v3.1 Base Score 9.8
CWE Classification CWE-306: Missing Authentication for Critical Function
Affected Product Tomee
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

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:H/A:H).

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 High (I:H)
Availability High (A:H)

How to Fix CVE-2020-11969

To remediate this vulnerability, upgrade all affected Tomee 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.tomee:tomee fixed: 8.0.2
<dependency>
    <groupId>org.apache.tomee</groupId>
    <artifactId>tomee</artifactId>
    <version>8.0.2</version>
</dependency>
org.apache.tomee:tomee fixed: 7.1.3
<dependency>
    <groupId>org.apache.tomee</groupId>
    <artifactId>tomee</artifactId>
    <version>7.1.3</version>
</dependency>
org.apache.tomee:tomee fixed: 7.0.8
<dependency>
    <groupId>org.apache.tomee</groupId>
    <artifactId>tomee</artifactId>
    <version>7.0.8</version>
</dependency>
org.apache.tomee:tomee fixed: 1.7.6
<dependency>
    <groupId>org.apache.tomee</groupId>
    <artifactId>tomee</artifactId>
    <version>1.7.6</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.tomee

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.tomee 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-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Tomee, 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

If Apache TomEE is configured to use the embedded ActiveMQ broker, and the broker URI includes the useJMX=true parameter, a JMX port is opened on TCP port 1099, which does not include authentication. This affects Apache TomEE 8.0.0-M1 - 8.0.1, Apache TomEE 7.1.0 - 7.1.2, Apache TomEE 7.0.0-M1 - 7.0.7, Apache TomEE 1.0.0 - 1.7.5.

CVE-2020-11969 Affected Tomee Versions

4 component(s)
Fixed Versions:
8.0.27.1.37.0.81.7.6
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.tomee:tomee
Maven
≥ 8.0.0-M1
< 8.0.2
8.0.2
org.apache.tomee:tomee
Maven
≥ 7.1.0
< 7.1.3
7.1.3
org.apache.tomee:tomee
Maven
≥ 7.0.0-M1
< 7.0.8
7.0.8
org.apache.tomee:tomee
Maven
≥ 1.0.0
< 1.7.6
1.7.6

References

Frequently Asked Questions

What is CVE-2020-11969?
CVE-2020-11969 is a security vulnerability in Tomee involving Missing Authentication for Critical Function in Apache TomEE under CWE-306: Missing Authentication for Critical Function.
Which Tomee versions are affected?
Affected versions include releases prior to 8.0.2, 7.1.3, 7.0.8, 1.7.6 across affected packages: org.apache.tomee:tomee.
What version fixes CVE-2020-11969?
Upgrading to 8.0.2, 7.1.3, 7.0.8, 1.7.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is tomee affected?
Yes, org.apache.tomee:tomee is affected in releases prior to 8.0.2, 7.1.3, 7.0.8, 1.7.6. Upgrade your dependency to 8.0.2, 7.1.3, 7.0.8, 1.7.6 or later.
What is the CVSS score of CVE-2020-11969?
CVE-2020-11969 has a CVSS v3.1 base score of 9.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2020-11969?
CVE-2020-11969 is classified under CWE-306: Missing Authentication for Critical Function (The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.).
How can I check Maven dependencies for CVE-2020-11969?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.tomee'. 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-836g-5fr5-fgcr",
  "modified" : "2021-07-29T18:21:38Z",
  "published" : "2022-02-10T23:07:37Z",
  "aliases" : [ "CVE-2020-11969" ],
  "summary" : "Missing Authentication for Critical Function in Apache TomEE",
  "details" : "If Apache TomEE is configured to use the embedded ActiveMQ broker, and the broker URI includes the useJMX=true parameter, a JMX port is opened on TCP port 1099, which does not include authentication. This affects Apache TomEE 8.0.0-M1 - 8.0.1, Apache TomEE 7.1.0 - 7.1.2, Apache TomEE 7.0.0-M1 - 7.0.7, Apache TomEE 1.0.0 - 1.7.5.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomee:tomee"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0-M1"
      }, {
        "fixed" : "8.0.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 8.0.1"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomee:tomee"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.1.0"
      }, {
        "fixed" : "7.1.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 7.1.2"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomee:tomee"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0-M1"
      }, {
        "fixed" : "7.0.8"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 7.0.7"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomee:tomee"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "1.7.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.7.5"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-11969"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r85b87478f8aa4751aa3a06e88622e80ffabae376ee7283e147ee56b9@%3Cdev.tomee.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rbd23418646dedda70a546331ea1c1d115b8975b7e7dc452d10e2e773%40%3Cdev.tomee.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rbd23418646dedda70a546331ea1c1d115b8975b7e7dc452d10e2e773@%3Cannounce.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/ref088c4732e1a8dd0bbbb96e13ffafcfe65f984238ffa55f438d78fe@%3Cdev.tomee.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/ref088c4732e1a8dd0bbbb96e13ffafcfe65f984238ffa55f438d78fe@%3Cusers.tomee.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2020/12/16/2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-306" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-12T15:57:39Z",
    "nvd_published_at" : "2020-06-15T20:15:00Z"
  }
}