Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2022-46364 EUVD-2022-7768GHSA-x3x3-qwjq-8gj4

Apache CXF SSRF Vulnerability

Published Dec 13, 2022 · Updated Apr 22, 2025 · Assigned by apache

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. 

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache CXF < 3.5.5, < 3.4.10 3.5.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.6-1.redhat_00001.1.el7sso RHSA-2023:1045, RHSA-2023:1044, RHSA-2023:1043
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-apache-cxf +3 3.1.16-3.SP1_redhat_00001.1.ep7.el7 RHSA-2024:10208, RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-avro 1.7.6-2.redhat_00003.1.ep7.el7 RHSA-2024:10208, RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-bouncycastle +3 1.68.0-1.redhat_00005.1.ep7.el7 RHSA-2024:10208
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-h2database 1.4.197-2.redhat_00005.1.ep7.el7 RHSA-2024:10208, RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jackson-databind 2.8.11.6-1.SP1_redhat_00001.1.ep7.el7 RHSA-2024:10208
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jboss-annotations-api_1.3_spec 2.0.1-4.Final_redhat_00001.1.el7eap RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jboss-marshalling +1 2.0.15-1.Final_redhat_00001.1.el7eap RHSA-2024:10208, RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jboss-server-migration +21 1.7.2-12.Final_redhat_00013.1.el7eap RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-jboss-xnio-base 3.5.10-1.Final_redhat_00001.1.ep7.el7 RHSA-2024:10208, RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-log4j-jboss-logmanager 1.2.2-2.Final_redhat_00002.1.el7eap RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-wildfly +1 7.1.8-2.GA_redhat_00002.1.ep7.el7 RHSA-2024:10208, RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-wildfly-javadocs +2 7.3.11-4.GA_redhat_00002.1.el7eap RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-wss4j +6 2.3.3-2.redhat_00001.1.el7eap RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-xalan-j2 2.7.1-26.redhat_00015.1.ep7.el7 RHSA-2024:10208, RHSA-2024:10207
Red Hat Jboss Enterprise Application Platform Eus 7 eap7-xml-security 2.2.3-2.redhat_00001.1.el7eap RHSA-2024:10207
Red Hat JBoss EAP 7 eap7-apache-cxf +3 3.4.10-1.redhat_00001.1.el7eap RHSA-2023:0163
Red Hat JBoss EAP 7 eap7-apache-sshd 2.9.2-1.redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-elytron-web +1 1.9.3-1.Final_redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-hal-console 3.3.16-1.Final_redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-hibernate-search +5 5.10.13-3.Final_redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-ironjacamar +8 1.5.10-1.Final_redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-jackson-core +10 2.12.7-1.redhat_00003.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-javaee-security-soteria +1 1.0.1-3.redhat_00003.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-jboss-ejb-client 4.0.49-1.Final_redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-jboss-jsf-api_2.3_spec 3.0.0-6.SP07_redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-jboss-jsp-api_2.3_spec 2.0.0-3.Final_redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-jboss-remoting 5.0.27-1.Final_redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-jboss-server-migration +2 1.10.0-24.Final_redhat_00023.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-jettison 1.5.2-1.redhat_00002.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-undertow 2.2.22-1.SP3_redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-wildfly +4 7.4.9-4.GA_redhat_00003.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-wildfly-elytron +1 1.15.16-1.Final_redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552
Red Hat JBoss EAP 7 eap7-woodstox-core 6.4.0-1.redhat_00001.1.el7eap RHSA-2023:0554, RHSA-2023:0553, RHSA-2023:0552

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 6 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.cxf:cxf-core < 3.4.10 3.4.10 GHSA-x3x3-qwjq-8gj4
Maven org.apache.cxf:cxf-core >= 3.5.0, < 3.5.5 3.5.5 GHSA-x3x3-qwjq-8gj4

Advisories 18

References