Vulnerabilities in pkg:maven/org.apache.cxf/cxf

PACKAGE
Advisory Identifier: GHSA-xf9f-32gh-h2w4
Advisory Summary

CVE-2012-5633 is a MODERATE improper authentication vulnerability (CWE-287: Improper Authentication) affecting Cxf libraries in the Maven ecosystem. The issue involves improper authentication in apache cxf. Remediation is available by upgrading affected packages to version 2.5.8, 2.6.5, 2.7.2.

12 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.cxf/cxf

12 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.cxf/cxf. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-xf9f-32gh-h2w4 CVE-2012-5633 MODERATE Improper Authentication in Apache CXF
GHSA-55j7-f5wf-43m4 CVE-2012-3451 HIGH Remote web-service operation execution in Apache CXF
GHSA-2g99-c67p-56hm CVE-2012-2379 HIGH XML Signature/Encryption Not Validated in Apache CXF
GHSA-vjpc-vf4f-82qg CVE-2012-2378 MODERATE Improper Authentication in Apache CXF
GHSA-2p7x-jcr3-7p2c CVE-2012-0803 CRITICAL Improper Authentication in Apache CXF
GHSA-7q4h-pj78-j7vg CVE-2021-22696 HIGH Authorization service vulnerable to DDos attacks in Apache CFX
GHSA-g23v-p5jq-jvh4 CVE-2021-30468 HIGH Infinite loop in Apache CFX
GHSA-f93p-f762-vr53 CVE-2019-17573 MODERATE Reflected Cross-Site Scripting in Apache CXF
GHSA-42f2-f9vc-6365 CVE-2019-12423 HIGH Private key leak in Apache CXF
GHSA-cw6w-q88j-6mqf CVE-2019-12419 CRITICAL Potential session hijack in Apache CXF
GHSA-58p8-9g59-q2hr CVE-2019-12406 MODERATE Potential DOS attack due to unrestricted attachment count in messages
GHSA-64x2-gq24-75pv CVE-2020-13954 MODERATE Cross-site scripting in Apache CXF

CVE-2012-5633 at a Glance

CVE Identifier CVE-2012-5633
GHSA Identifier GHSA-xf9f-32gh-h2w4
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product Cxf
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2012-5633

To remediate this vulnerability, upgrade all affected Cxf 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 fixed: 2.5.8
<dependency>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf</artifactId>
    <version>2.5.8</version>
</dependency>
org.apache.cxf:cxf fixed: 2.6.5
<dependency>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf</artifactId>
    <version>2.6.5</version>
</dependency>
org.apache.cxf:cxf fixed: 2.7.2
<dependency>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf</artifactId>
    <version>2.7.2</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-2012-5633, 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 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.8), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Cxf, 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 URIMappingInterceptor in Apache CXF before 2.5.8, 2.6.x before 2.6.5, and 2.7.x before 2.7.2, when using the WSS4JInInterceptor, bypasses WS-Security processing, which allows remote attackers to obtain access to SOAP services via an HTTP GET request.

CVE-2012-5633 Affected Cxf Versions

3 component(s)
Fixed Versions:
2.5.82.6.52.7.2
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.cxf:cxf
Maven
< 2.5.8
2.5.8
org.apache.cxf:cxf
Maven
≥ 2.6.0
< 2.6.5
2.6.5
org.apache.cxf:cxf
Maven
≥ 2.7.0
< 2.7.2
2.7.2

References

NVD — CVE-2012-5633 NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-5633
Security Fix Commit FIX COMMIT
https://github.com/apache/cxf/commit/0cbc56618b6048847debe670d54919e227744401
Security Fix Commit FIX COMMIT
https://github.com/apache/cxf/commit/1a6b532d53a7b98018871982049e4b0c80dc837c
Security Fix Commit FIX COMMIT
https://github.com/apache/cxf/commit/94a98b3fe9c79e2cf3941acbbad216ba54999bc0
Security Fix Commit FIX COMMIT
https://github.com/apache/cxf/commit/d99f96aa970d9f2faa8ed45e278a403af48757ae
Security Fix Commit FIX COMMIT
https://github.com/apache/cxf/commit/db11c9115f31e171de4622149f157d8283f6c720
Security Fix Commit FIX COMMIT
https://github.com/apache/cxf/commit/e0cdf873942b4d3fbc253e8ce6bb6fce3898019d
Security Fix Commit FIX COMMIT
https://github.com/apache/cxf/commit/e733c692e933a7f82424d3744aace9304cd5d4f6
Cxf Security Information SECURITY
https://web.archive.org/web/20130216044418/http://www.securityfocus.com:80/bid/57874
lists.apache.org/thread.html/rff42cf... WEB
https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4@%3Ccommits.cxf.apache.org%3E
lists.apache.org/thread.html/rff42cf... WEB
https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4%40%3Ccommits.cxf.apache.org%3E
lists.apache.org/thread.html/rfb87e0... WEB
https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e@%3Ccommits.cxf.apache.org%3E
lists.apache.org/thread.html/rfb87e0... WEB
https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E
lists.apache.org/thread.html/rec7160... WEB
https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4@%3Ccommits.cxf.apache.org%3E
lists.apache.org/thread.html/rec7160... WEB
https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E
lists.apache.org/thread.html/rd49aab... WEB
https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6@%3Ccommits.cxf.apache.org%3E
lists.apache.org/thread.html/rd49aab... WEB
https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E
lists.apache.org/thread.html/rc77427... WEB
https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c@%3Ccommits.cxf.apache.org%3E
lists.apache.org/thread.html/rc77427... WEB
https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c%40%3Ccommits.cxf.apache.org%3E
lists.apache.org/thread.html/r36e44f... WEB
https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf@%3Ccommits.cxf.apache.org%3E
lists.apache.org/thread.html/r36e44f... WEB
https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf%40%3Ccommits.cxf.apache.org%3E
issues.jboss.org/browse/jbws-3575 WEB
https://issues.jboss.org/browse/JBWS-3575
issues.apache.org/jira/browse/cxf-462... WEB
https://issues.apache.org/jira/browse/CXF-4629
Cxf Source Repository REPOSITORY
https://github.com/apache/cxf
exchange.xforce.ibmcloud.com/vulnerabilities/819... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/81980
Cxf Security Information SECURITY
http://cxf.apache.org/cve-2012-5633.html
Cxf Security Information SECURITY
http://packetstormsecurity.com/files/120213/Apache-CXF-WS-Security-URIMappingInterceptor-Bypass.html
rhn.redhat.com/errata/rhsa-2013-02... WEB
http://rhn.redhat.com/errata/RHSA-2013-0256.html
rhn.redhat.com/errata/rhsa-2013-02... WEB
http://rhn.redhat.com/errata/RHSA-2013-0257.html
rhn.redhat.com/errata/rhsa-2013-02... WEB
http://rhn.redhat.com/errata/RHSA-2013-0258.html
rhn.redhat.com/errata/rhsa-2013-02... WEB
http://rhn.redhat.com/errata/RHSA-2013-0259.html
rhn.redhat.com/errata/rhsa-2013-07... WEB
http://rhn.redhat.com/errata/RHSA-2013-0726.html
rhn.redhat.com/errata/rhsa-2013-07... WEB
http://rhn.redhat.com/errata/RHSA-2013-0743.html
rhn.redhat.com/errata/rhsa-2013-07... WEB
http://rhn.redhat.com/errata/RHSA-2013-0749.html
seclists.org/fulldisclosure/2013... WEB
http://seclists.org/fulldisclosure/2013/Feb/39
Cxf Security Information SECURITY
http://stackoverflow.com/questions/7933293/why-does-apache-cxf-ws-security-implementation-ignore-get-requests
svn.apache.org/viewvc WEB
http://svn.apache.org/viewvc?view=revision&revision=1409324
svn.apache.org/viewvc WEB
http://svn.apache.org/viewvc?view=revision&revision=1420698

Frequently Asked Questions

What is CVE-2012-5633?
CVE-2012-5633 is a security vulnerability in Cxf involving Improper Authentication in Apache CXF under CWE-287: Improper Authentication.
Which Cxf versions are affected?
Affected versions include releases prior to 2.5.8, 2.6.5, 2.7.2 across affected packages: org.apache.cxf:cxf.
What version fixes CVE-2012-5633?
Upgrading to 2.5.8, 2.6.5, 2.7.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cxf affected?
Yes, org.apache.cxf:cxf is affected in releases prior to 2.5.8, 2.6.5, 2.7.2. Upgrade your dependency to 2.5.8, 2.6.5, 2.7.2 or later.
What CWE is associated with CVE-2012-5633?
CVE-2012-5633 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Maven dependencies for CVE-2012-5633?
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-xf9f-32gh-h2w4",
  "modified" : "2023-12-21T21:02:30Z",
  "published" : "2022-05-13T01:09:21Z",
  "aliases" : [ "CVE-2012-5633" ],
  "summary" : "Improper Authentication in Apache CXF",
  "details" : "The URIMappingInterceptor in Apache CXF before 2.5.8, 2.6.x before 2.6.5, and 2.7.x before 2.7.2, when using the WSS4JInInterceptor, bypasses WS-Security processing, which allows remote attackers to obtain access to SOAP services via an HTTP GET request.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.cxf:cxf"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.5.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.cxf:cxf"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.6.0"
      }, {
        "fixed" : "2.6.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.cxf:cxf"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "fixed" : "2.7.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-5633"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/cxf/commit/0cbc56618b6048847debe670d54919e227744401"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/cxf/commit/1a6b532d53a7b98018871982049e4b0c80dc837c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/cxf/commit/94a98b3fe9c79e2cf3941acbbad216ba54999bc0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/cxf/commit/d99f96aa970d9f2faa8ed45e278a403af48757ae"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/cxf/commit/db11c9115f31e171de4622149f157d8283f6c720"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/cxf/commit/e0cdf873942b4d3fbc253e8ce6bb6fce3898019d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/cxf/commit/e733c692e933a7f82424d3744aace9304cd5d4f6"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20130216044418/http://www.securityfocus.com:80/bid/57874"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4@%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4%40%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e@%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%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/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6@%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c@%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c%40%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf@%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf%40%3Ccommits.cxf.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://issues.jboss.org/browse/JBWS-3575"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/CXF-4629"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/cxf"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/81980"
  }, {
    "type" : "WEB",
    "url" : "http://cxf.apache.org/cve-2012-5633.html"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/120213/Apache-CXF-WS-Security-URIMappingInterceptor-Bypass.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0256.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0257.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0258.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0259.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0726.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0743.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0749.html"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/fulldisclosure/2013/Feb/39"
  }, {
    "type" : "WEB",
    "url" : "http://stackoverflow.com/questions/7933293/why-does-apache-cxf-ws-security-implementation-ignore-get-requests"
  }, {
    "type" : "WEB",
    "url" : "http://svn.apache.org/viewvc?view=revision&revision=1409324"
  }, {
    "type" : "WEB",
    "url" : "http://svn.apache.org/viewvc?view=revision&revision=1420698"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-13T14:04:46Z",
    "nvd_published_at" : "2013-03-12T23:55:00Z"
  }
}