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.
References
Link | Resource |
---|---|
https://github.com/vert-x3/vertx-web/pull/1613 | Patch Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2021-01-20 05:15
Updated : 2021-02-02 07:50
NVD link : CVE-2020-35217
Mitre link : CVE-2020-35217
JSON object : View
CWE
CWE-352
Cross-Site Request Forgery (CSRF)
Products Affected
eclipse
- vert.x-web