Skip to main content
← All vulnerabilities
CVE-2022-24880GHSA-7R87-CJ48-WJ45PYSEC-2022-193

Potential Captcha Validate Bypass in flask-session-captcha

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

flask-session-captcha is a package which allows users to extend Flask by adding an image based captcha stored in a server side session. In versions prior to 1.2.1, he `captcha.validate()` function would return `None` if passed no value (e.g. by submitting an having an empty form). If implementing users were checking the return value to be False, the captcha verification check could be bypassed. Version 1.2.1 fixes the issue. Users can workaround the issue by not explicitly checking that the value is False. Checking the return value less explicitly should still work.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Tethik flask-session-captcha

    fixed in 1.2.1

  • flask-session-captchaPyPI

    fixed in 1.2.1

References 4

GitHub · Tethik/flask-session-captcha