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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache CXF | from 3.5 before 3.5.5, from 3.4 before 3.4.10 | CVE List |
| org.apache.cxf:cxf-core (Maven) | before 3.4.10, from 3.5.0 before 3.5.5 | GitHub Advisory Database |
| apache cxf | before 3.4.10, from 3.5.0 before 3.5.5 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
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
| https://lists.apache.org/thread/pdzo1qgyplf4y523tnnzrcm7hoco3l8c | mailing-list, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-46363 | advisory | |
| https://github.com/apache/cxf | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-46363 changed 2025-04-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3w37-5p3p-jv92 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2022-46363 changed 2026-06-17 | Public domain |