CVE-2022-46364 Apache CXF SSRF Vulnerability
Attackers can exploit an SSRF vulnerability in Apache CXF to access internal resources via crafted MTOM requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-46364?
CVE-2022-46364 is a critical server-side request forgery vulnerability in Apache Cxf, published on 13 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A SSRF vulnerability in parsing the href attribute of XOP:Include in MTOM requests in versions of Apache CXF before 3.5.5 and 3.4.10 allows an attacker to perform SSRF style attacks on webservices that take at least one parameter of any type.
Weakness: CWE-918
Which versions are affected by CVE-2022-46364?
4 open source packages ship an affected version, including org.apache.cxf:cxf-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.cxf:cxf-core Maven | All versions | 3.4.10 |
org.apache.cxf:cxf-core Maven | All versions | 3.4.10 |
org.apache.cxf:cxf-core Maven | From 3.5.0 | 3.5.5 |
org.apache.cxf:cxf-core Maven | From 3.5.0 | 3.5.5 |
Linux distribution packages (12)
eap7-apache-cxf Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.10-1.redhat_00001.1.el7eap |
eap7-apache-cxf-rt Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.10-1.redhat_00001.1.el7eap |
eap7-apache-cxf-services Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.10-1.redhat_00001.1.el7eap |
eap7-apache-cxf-tools Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.10-1.redhat_00001.1.el7eap |
eap7-apache-cxf Red Hat:jboss_enterprise_application_platform:7.4::el8 | All versions | 0:3.4.10-1.redhat_00001.1.el8eap |
eap7-apache-cxf-rt Red Hat:jboss_enterprise_application_platform:7.4::el8 | All versions | 0:3.4.10-1.redhat_00001.1.el8eap |
eap7-apache-cxf-services Red Hat:jboss_enterprise_application_platform:7.4::el8 | All versions | 0:3.4.10-1.redhat_00001.1.el8eap |
eap7-apache-cxf-tools Red Hat:jboss_enterprise_application_platform:7.4::el8 | All versions | 0:3.4.10-1.redhat_00001.1.el8eap |
eap7-apache-cxf Red Hat:jboss_enterprise_application_platform:7.4::el9 | All versions | 0:3.4.10-1.redhat_00001.1.el9eap |
eap7-apache-cxf-rt Red Hat:jboss_enterprise_application_platform:7.4::el9 | All versions | 0:3.4.10-1.redhat_00001.1.el9eap |
eap7-apache-cxf-services Red Hat:jboss_enterprise_application_platform:7.4::el9 | All versions | 0:3.4.10-1.redhat_00001.1.el9eap |
eap7-apache-cxf-tools Red Hat:jboss_enterprise_application_platform:7.4::el9 | All versions | 0:3.4.10-1.redhat_00001.1.el9eap |
Products include Apache Cxf.
How do I fix CVE-2022-46364?
Upgrade org.apache.cxf:cxf-core to a fixed version for your release line: 3.4.10 or 3.5.5.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2022-46364 being exploited?
There is no known exploitation of CVE-2022-46364 in the wild and no public exploit code.
Public exploit code: 5 proofs of concept on GitHub.
Other vulnerabilities in Apache Cxf
- CVE-2012-2379 XML Signature/Encryption Not Validated in Apache CXF
- CVE-2026-66909 Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage
- CVE-2026-68079 Apache CXF: DefaultEncryptingCodeDataProvider allows unlimited authorization code replay
- CVE-2026-50628 Apache CXF: OAuth2: Inverted IP Binding Check Defeats Security Control
- CVE-2025-48913 Apache CXF: Untrusted JMS configuration can lead to RCE
Sources
Also known as GHSA-x3x3-qwjq-8gj4, RHSA-2023:0163.