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.
https://github.com/jwsly12/CVE-2022-46364-htb-ctf
https://github.com/advisories/GHSA-3w37-5p3p-jv92
https://lists.apache.org/thread/pdzo1qgyplf4y523tnnzrcm7hoco3l8c