CVE-2012-5633 — cxf
Fix: apache/cxf@0cbc566CVE-2012-5633 is a Improper Authentication vulnerability in org.apache.cxf:cxf. A fix is available for org.apache.cxf:cxf — see the affected versions and patch details below.
Improper Authentication in Apache CXF
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.apache.cxf:cxf☕org.apache.cxf:cxf☕org.apache.cxf:cxfReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.cxf:cxf | all versions | 2.5.8org.apache.cxf:cxf:2.5.8 |
| ☕Maven | org.apache.cxf:cxf | ≥ 2.6.0&&< 2.6.5 | 2.6.5org.apache.cxf:cxf:2.6.5 |
| ☕Maven | org.apache.cxf:cxf | ≥ 2.7.0&&< 2.7.2 | 2.7.2org.apache.cxf:cxf:2.7.2 |
Affected Products
cxfapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.cxf:cxf, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.cxf:cxf to 2.5.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2012-5633 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Fuse ESB Enterprise 7.1.0 | see advisory | RHSA-2013:0649 |
| JBEWP 5 for RHEL 5 | apache-cxf-0:2.2.12-10.patch_06.ep5.el5 | RHSA-2013:0259 |
| JBoss Enterprise BRMS Platform 5.3 | see advisory | RHSA-2013:0743 |
| Red Hat JBoss Enterprise Application Platform 5.2 | see advisory | RHSA-2013:0256 |
| Red Hat JBoss Enterprise Application Platform 5 for RHEL 5 | apache-cxf-0:2.2.12-10.patch_06.ep5.el5 | RHSA-2013:0257 |
| Red Hat JBoss Enterprise Application Platform 6.0 | see advisory | RHSA-2013:0645 |
| Red Hat JBoss Enterprise Application Platform 6 for RHEL 5 | apache-cxf-0:2.4.9-6.redhat_3.ep6.el5 | RHSA-2013:0644 |
| Red Hat JBoss Portal 6.0 | see advisory | RHSA-2013:0749 |
Frequently Asked Questions
Is CVE-2012-5633 in your dependencies?
Find it across Maven, including transitive dependencies.