CVE-2020-35217

vertx-web: performs an incorrect CSRF verification

Published Jan 20, 2021 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0807 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.
Github GHSA Github GHSA GHSA-9q69-g5gc-9fgf Cross-Site Request Forgery in Vert.x-Web framework
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 5:02 PM
Reserved
Dec 13, 2020, 12:00 AM
Status
Modified
Published
Jan 20, 2021, 1:15 PM
Modified
Jun 17, 2026, 3:13 AM
Severity
Moderate
Public date
Jan 20, 2021, 12:00 AM