CVE-2020-1954: Cxf rt management Apache CXF JMX Integration Is Vulnerability

MODERATE
Advisory Identifier: GHSA-ffm7-7r8g-77xm
CVSS 5.3
CWE-200
Published
Advisory Summary

CVE-2020-1954 is a MODERATE (CVSS 5.3) apache cxf jmx integration is vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Cxf rt management libraries in the Maven ecosystem. The issue involves apache cxf jmx integration is vulnerable to a mitm attack. Remediation is available by upgrading affected packages to version 3.2.13, 3.3.6.

CVE-2020-1954 at a Glance

CVE Identifier CVE-2020-1954
GHSA Identifier GHSA-ffm7-7r8g-77xm
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Cxf rt management
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

Attack Vector Adjacent (AV:A)
Attack Complexity High (AC:H)
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-1954

To remediate this vulnerability, upgrade all affected Cxf rt management 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.cxf:cxf-rt-management fixed: 3.2.13
<dependency>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf-rt-management</artifactId>
    <version>3.2.13</version>
</dependency>
org.apache.cxf:cxf-rt-management fixed: 3.3.6
<dependency>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf-rt-management</artifactId>
    <version>3.3.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.cxf

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.cxf 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 Cxf rt management, 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

Apache CXF has the ability to integrate with JMX by registering an `InstrumentationManager` extension with the CXF bus. If the `createMBServerConnectorFactory` property of the default `InstrumentationManagerImpl` is not disabled, then it is vulnerable to a man-in-the-middle (MITM) style attack. An attacker on the same host can connect to the registry and rebind the entry to another server, thus acting as a proxy to the original. They are then able to gain access to all of the information that is sent and received over JMX.

CVE-2020-1954 Affected Cxf rt management Versions

2 component(s)
Fixed Versions:
3.2.133.3.6
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.cxf:cxf-rt-management
Maven
< 3.2.13
3.2.13
org.apache.cxf:cxf-rt-management
Maven
≥ 3.3.0
< 3.3.6
3.3.6

References

Frequently Asked Questions

What is CVE-2020-1954?
CVE-2020-1954 is a security vulnerability in Cxf rt management involving Apache CXF JMX Integration is vulnerable to a MITM attack under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Cxf rt management versions are affected?
Affected versions include releases prior to 3.2.13, 3.3.6 across affected packages: org.apache.cxf:cxf-rt-management.
What version fixes CVE-2020-1954?
Upgrading to 3.2.13, 3.3.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cxf-rt-management affected?
Yes, org.apache.cxf:cxf-rt-management is affected in releases prior to 3.2.13, 3.3.6. Upgrade your dependency to 3.2.13, 3.3.6 or later.
What is the CVSS score of CVE-2020-1954?
CVE-2020-1954 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2020-1954?
CVE-2020-1954 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-2020-1954?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.cxf'. 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-ffm7-7r8g-77xm",
  "modified" : "2023-09-26T10:43:36Z",
  "published" : "2022-02-10T22:38:50Z",
  "aliases" : [ "CVE-2020-1954" ],
  "summary" : "Apache CXF JMX Integration is vulnerable to a MITM attack",
  "details" : "Apache CXF has the ability to integrate with JMX by registering an `InstrumentationManager` extension with the CXF bus. If the `createMBServerConnectorFactory` property of the default `InstrumentationManagerImpl` is not disabled, then it is vulnerable to a man-in-the-middle (MITM) style attack. An attacker on the same host can connect to the registry and rebind the entry to another server, thus acting as a proxy to the original. They are then able to gain access to all of the information that is sent and received over JMX.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.cxf:cxf-rt-management"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.2.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.cxf:cxf-rt-management"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.3.0"
      }, {
        "fixed" : "3.3.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-1954"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/cxf/commit/1cf4fed546904a4a2560f53a2a2391d834b4026c"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6@%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4@%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e@%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20220210-0001"
  }, {
    "type" : "WEB",
    "url" : "https://www.oracle.com/security-alerts/cpuoct2020.html"
  }, {
    "type" : "WEB",
    "url" : "http://cxf.apache.org/security-advisories.data/CVE-2020-1954.txt.asc?version=1&modificationDate=1585730169000&api=v2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-07T18:12:21Z",
    "nvd_published_at" : "2020-04-01T21:15:00Z"
  }
}