CSRF in Eclipse Vert.x-Web
CVE-2020-35217
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 48.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Eclipse Vert.x-Web — versions 4.0.0
Weakness classification (CWE)
References
- github.com/vert-x3/vertx-web/pull/1613 (Patch, Third Party Advisory)