CVE-2020-35217
Description
Vert.x-Web framework v4.0 milestone 1-4 does not perform a correct CSRF verification. Instead of comparing the CSRF token in the request with the CSRF token in the cookie, it compares the CSRF token in the cookie against a CSRF token that is stored in the session. An attacker does not even need to provide a CSRF token in the request because the framework does not consider it. The cookies are automatically sent by the browser and the verification will always succeed, leading to a successful CSRF attack.
How to fix
- io.vertx:vertx-web4.0.0-milestone5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| eclipse vert.x-web | 4.0.0 | — |
| io.vertx:vertx-webMaven | 4.0.0-milestone1 ≤ v < 4.0.0-milestone5, 4.0.0-milestone2 ≤ v < 4.0.0-milestone5, 4.0.0-milestone3 ≤ v < 4.0.0-milestone5, 4.0.0-milestone4 ≤ v < 4.0.0-milestone5 | 4.0.0-milestone5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.