CVE-2023-24815

Public Exploit
Disclosure of classpath resources on Windows when mounted on a wildcard route in vertx-web

Description

Vert.x-Web is a set of building blocks for building web applications in the java programming language. When running vertx web applications that serve files using `StaticHandler` on Windows Operating Systems and Windows File Systems, if the mount point is a wildcard (`*`) then an attacker can exfiltrate any class path resource. When computing the relative path to locate the resource, in case of wildcards, the code: `return "/" + rest;` from `Utils.java` returns the user input (without validation) as the segment to lookup. Even though checks are performed to avoid escaping the sandbox, given that the input was not sanitized `\` are not properly handled and an attacker can build a path that is valid within the classpath. This issue only affects users deploying in windows environments and upgrading is the advised remediation path. There are no known workarounds for this vulnerability.

Category

4.8
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.22%
Vendor Advisory github.com Vendor Advisory github.com
Affected: vert-x3 vertx-web
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-24815?
CVE-2023-24815 has been scored as a medium severity vulnerability.
How to fix CVE-2023-24815?
To fix CVE-2023-24815, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-24815 being actively exploited in the wild?
It is possible that CVE-2023-24815 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-24815?
CVE-2023-24815 affects vert-x3 vertx-web.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.