GitHub Advisoryadvisory · Maven
GHSA-9q69-g5gc-9fgf Cross-Site Request Forgery in Vert.x-Web framework
HIGH
Official page ↗
- Aliases
- CVE-2020-35217
- Ecosystem
- Maven
- Packages
- io.vertx:vertx-web
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-352
- Reviewed
- 2021-04-20
Affected packages
• Maven io.vertx:vertx-web: >= 4.0.0-milestone1, < 4.0.0-milestone5 → fixed in 4.0.0-milestone5
• Maven io.vertx:vertx-web: >= 4.0.0-milestone2, < 4.0.0-milestone5 → fixed in 4.0.0-milestone5
• Maven io.vertx:vertx-web: >= 4.0.0-milestone3, < 4.0.0-milestone5 → fixed in 4.0.0-milestone5
• Maven io.vertx:vertx-web: >= 4.0.0-milestone4, < 4.0.0-milestone5 → fixed in 4.0.0-milestone5
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.
Related
Alias · CVE (1)
- CVE-2020-35217 Vert.x-Web framework v4.0 milestone 1-4 does not perform a correct CSRF verification. vulnerability
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness