Access Restriction Bypass Affecting flask-session-captcha package, versions [,1.2.1)
Snyk CVSS
Attack Complexity
Low
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.08% (34th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-FLASKSESSIONCAPTCHA-2803309
- published 26 Apr 2022
- disclosed 26 Apr 2022
- credit Guillaume Gomez
Introduced: 26 Apr 2022
CVE-2022-24880 Open this link in a new tabHow to fix?
Upgrade flask-session-captcha
to version 1.2.1 or higher.
Overview
flask-session-captcha is a Captcha implementation for flask and flask-session.
Affected versions of this package are vulnerable to Access Restriction Bypass by manipulating the captcha.validate()
to return False
, in that way the captcha verification check will be bypassed.
PoC:
if captcha.validate() == False:
... # abort
else:
... # do stuff