CVE-2023-24815 Disclosure of classpath resources on Windows when mounted on a wildcard route in vertx-web
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| eclipse vert.x-web | >= 4.0.0, < 4.3.8 | 4.3.8 | Fixed |
| io.vertx/vertx-web(Maven) | = 4.0.0; = 4.0.1; = 4.0.2; = 4.0.3 +31 more | 4.3.8 | Fixed |
| vert-x3 vertx-web | = >= 4.0.0, < 4.3.8 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| io.vertx/vertx-web(Maven) | >= 4.0.0, < 4.3.8 | 4.3.8 |
| io.vertx/vertx-web(Maven) | = 4.0.0 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.0.1 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.0.2 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.0.3 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.0 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.0.Beta1 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.0.CR1 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.0.CR2 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.1 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.2 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.3 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.4 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.5 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.6 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.7 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.1.8 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.2.0 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.2.0.Beta1 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.2.0.CR1 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.2.1 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.2.2 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.2.3 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.2.4 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.2.5 | No fix listed |
Show 12 more
| Product | Affected versions | Fixed in |
|---|---|---|
| io.vertx/vertx-web(Maven) | = 4.2.6 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.2.7 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.3.0 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.3.1 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.3.2 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.3.3 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.3.4 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.3.5 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.3.6 | No fix listed |
| io.vertx/vertx-web(Maven) | = 4.3.7 | No fix listed |
| vert-x3 vertx-web | = >= 4.0.0, < 4.3.8 | No fix listed |
| eclipse vert.x-web | >= 4.0.0, < 4.3.8 | 4.3.8 |
References
- https://github.com/vert-x3/vertx-web/security/advisories/GHSA-53jx-vvf9-4x38 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/vert-x3/vertx-web/commit/9e3a783b1d1a731055e9049078b1b1494ece9c15 patch vendor-advisory
- https://github.com/vert-x3/vertx-web/blob/62c0d66fa1c179ae6a4d57344631679a2b97e60f/vertx-web/src/main/java/io/vertx/ext/web/impl/Utils.java#L83 issue-tracking
- github.com
- github.com product