Skip to main content
← All vulnerabilities
CVE-2024-1681GHSA-84PR-M4JR-85G5PYSEC-2024-271

Log Injection Vulnerability in corydolphin/flask-cors

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

Summary

corydolphin/flask-cors is vulnerable to log injection when the log level is set to debug. An attacker can inject fake log entries into the log file by sending a specially crafted GET request containing a CRLF sequence in the request path. This vulnerability allows attackers to corrupt log files, potentially covering tracks of other attacks, confusing log post-processing tools, and forging log entries. The issue is due to improper output neutralization for logs.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • corydolphin corydolphin/flask-cors

    Version range not reported

  • flask-corsPyPI

    fixed in 4.0.1

  • flask-corsPyPI

    through 4.0.0

References 1

huntr.com