CVE-2022-46364 Apache CXF SSRF Vulnerability

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
org.apache.cxf:cxf-core MavenAll versions3.4.10
org.apache.cxf:cxf-core MavenAll versions3.4.10
org.apache.cxf:cxf-core MavenFrom 3.5.03.5.5
org.apache.cxf:cxf-core MavenFrom 3.5.03.5.5
Linux distribution packages (12)
eap7-apache-cxf Red Hat:jboss_enterprise_application_platform:7.4::el7All versions0:3.4.10-1.redhat_00001.1.el7eap
eap7-apache-cxf-rt Red Hat:jboss_enterprise_application_platform:7.4::el7All versions0:3.4.10-1.redhat_00001.1.el7eap
eap7-apache-cxf-services Red Hat:jboss_enterprise_application_platform:7.4::el7All versions0:3.4.10-1.redhat_00001.1.el7eap
eap7-apache-cxf-tools Red Hat:jboss_enterprise_application_platform:7.4::el7All versions0:3.4.10-1.redhat_00001.1.el7eap
eap7-apache-cxf Red Hat:jboss_enterprise_application_platform:7.4::el8All versions0:3.4.10-1.redhat_00001.1.el8eap
eap7-apache-cxf-rt Red Hat:jboss_enterprise_application_platform:7.4::el8All versions0:3.4.10-1.redhat_00001.1.el8eap
eap7-apache-cxf-services Red Hat:jboss_enterprise_application_platform:7.4::el8All versions0:3.4.10-1.redhat_00001.1.el8eap
eap7-apache-cxf-tools Red Hat:jboss_enterprise_application_platform:7.4::el8All versions0:3.4.10-1.redhat_00001.1.el8eap
eap7-apache-cxf Red Hat:jboss_enterprise_application_platform:7.4::el9All versions0:3.4.10-1.redhat_00001.1.el9eap
eap7-apache-cxf-rt Red Hat:jboss_enterprise_application_platform:7.4::el9All versions0:3.4.10-1.redhat_00001.1.el9eap
eap7-apache-cxf-services Red Hat:jboss_enterprise_application_platform:7.4::el9All versions0:3.4.10-1.redhat_00001.1.el9eap
eap7-apache-cxf-tools Red Hat:jboss_enterprise_application_platform:7.4::el9All versions0: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.

All Apache Cxf vulnerabilities

Sources

Also known as GHSA-x3x3-qwjq-8gj4, RHSA-2023:0163.

Is CVE-2022-46364 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free