CVE-2022-46363
JSON

7.5high

Apache CXF directory listing / code exfiltration

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.29% (higher than 71% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-3w37-5p3p-jv92

Description

A vulnerability in Apache CXF before versions 3.5.5 and 3.4.10 allows an attacker to perform a remote directory listing or code exfiltration. The vulnerability only applies when the CXFServlet is configured with both the static-resources-list and redirect-query-check attributes. These attributes are not supposed to be used together, and so the vulnerability can only arise if the CXF service is misconfigured.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache CXFfrom 3.5 before 3.5.5, from 3.4 before 3.4.10CVE List
org.apache.cxf:cxf-core (Maven)before 3.4.10, from 3.5.0 before 3.5.5GitHub Advisory Database
apache cxfbefore 3.4.10, from 3.5.0 before 3.5.5NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-20CWE-200

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

A vulnerability in Apache CXF before versions 3.5.5 and 3.4.10 allows an attacker to perform a remote directory listing or code exfiltration. The vulnerability only applies when the CXFServlet is configured with both the static-resources-list and redirect-query-check attributes. These attributes are not supposed to be used together, and so the vulnerability can only arise if the CXF service is misconfigured.

NVD (es)

Una vulnerabilidad en Apache CXF anterior a las versiones 3.5.5 y 3.4.10 permite a un atacante realizar un listado de directorio remoto o una filtración de código. La vulnerabilidad solo se aplica cuando CXFServlet está configurado con los atributos estático-recursos-lista y redirección-query-check. Se supone que estos atributos no deben usarse juntos, por lo que la vulnerabilidad solo puede surgir si el servicio CXF está mal configurado.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-46363 changed 2025-04-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-3w37-5p3p-jv92 changed 2024-02-16CC-BY-4.0
NVDCVE-2022-46363 changed 2026-06-17Public domain