Cross-site request forgery in Flask-Security - CVE-2021-21241

 

Cross-site request forgery in Flask-Security - CVE-2021-21241

Published: September 6, 2022


Vulnerability identifier: #VU67028
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-21241
CWE-ID: CWE-352
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Flask-Middleware
Affected software:
Flask-Security

Detailed vulnerability description

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website and obtain authentication token.


How to mitigate CVE-2021-21241

Install update from vendor's website.

Sources