PT-2022-16953
CVE-2022-24880
·
Published
2022-04-25
·
Updated
2022-05-05
Description by
CVSS 4.0
6.9
MediumMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
flask-session-captcha versions prior to 1.2.1
Description
The issue concerns the
captcha.validate() function in flask-session-captcha, which returns None if passed no value, such as when submitting an empty form. If users were checking the return value to be False, the captcha verification check could be bypassed.Recommendations
For versions prior to 1.2.1, update to version 1.2.1 to fix the issue.
As a temporary workaround, consider not explicitly checking that the return value of
captcha.validate() is False. Instead, use less explicit checks, such as if not captcha.validate(): or if captcha.validate():, to verify the captcha.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾