{"id":"CVE-2023-24815","published":"2023-02-09T17:36:32Z","modified":"2025-03-10T21:14:16Z","title":"Disclosure of classpath resources on Windows when mounted on a wildcard route in vertx-web","vendor":"vert-x3","product":"vertx-web","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00929,"percentile":0.61441,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/vert-x3/vertx-web/security/advisories/GHSA-53jx-vvf9-4x38","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vert-x3/vertx-web/commit/9e3a783b1d1a731055e9049078b1b1494ece9c15","tags":["x_refsource_MISC"]},{"url":"https://github.com/vert-x3/vertx-web/blob/62c0d66fa1c179ae6a4d57344631679a2b97e60f/vertx-web/src/main/java/io/vertx/ext/web/impl/Utils.java#L83","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":12.29},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"vert-x3","affectedVersions":[{"vendor":"vert-x3","product":"vertx-web","versions":[">= 4.0.0, < 4.3.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T21:01:06.203299Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.vertx:vertx-web","vulnerableRanges":[">=4.0.0, <4.3.8"],"patched":["4.3.8"],"from":["GHSA-53jx-vvf9-4x38"],"provenance":"source"}],"summary":{"text":"Vert.x-Web (vertx-web, by vert-x3) has a path traversal flaw in the StaticHandler component when it is mounted on a wildcard route, because the relative path built from user input in Utils.java is not sanitized, so backslashes are not handled on Windows file systems. An attacker with network access and no authentication or user interaction, against an application that serves static files on Windows with a wildcard mount point, can build a path that resolves to classpath resources and read them, with the exposure limited to the confidentiality of those resources.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:48Z"},"euvd":{"id":"EUVD-2023-0626","exploited":false,"provenance":"source"}}