CVE-2022-31583

The sravaniboinepelli/AutomatedQuizEval repository through 2020-04-27 on GitHub allows absolute path traversal because the Flask send_file function is used…

published July 11, 2022

CVSS
—
EPSS
1%
Percentile
72.1
In the wild
Unconfirmed
What it is

⚠️ A sneaky absolute path traversal is hiding in plain sight! The Flask `send_file` function misused in the sravaniboinepelli/AutomatedQuizEval repository could let attackers access any file on the server. 🔍 Think of it as a hotel where the front desk gives out master keys without checking IDs. Any guest could wander into any room they desire, possibly unlocking sensitive information! This vulnerability could allow an attacker to read any file on the server, which is absolutely devastating for sensitive data protection. Even without known exploits, the potential for misuse makes it a serious concern for any application using this flawed implementation.

Put simply

Think of it as a hotel where the front desk gives out master keys without checking IDs. Any guest could wander into any room they desire, possibly unlocking sensitive information! The vulnerability arises from improper usage of the Flask `send_file` function, enabling an attacker to traverse the file system and access files outside the intended directory.

What to do

This vulnerability could allow an attacker to read any file on the server, which is absolutely devastating for sensitive data protection. Even without known exploits, the potential for misuse makes it a serious concern for any application using this flawed implementation. To mitigate this issue, ensure you validate and sanitize any user input to the `send_file` function. Consider upgrading the codebase to use secure file handling techniques that restrict access to only necessary files. Regularly audit your libraries for similar vulnerabilities as well! You've got this! With these steps, your application will be more secure in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01392 · 72.1th percentile
Published
2022-07-11T01:02Z
EPSS history
Timeline
  • 11 JUL 01:02Z
    The sravaniboinepelli/AutomatedQuizEval repository through 2020-04-27 on GitHub allows absolute path traversal because the Flask send_file function is used…
    cvelistv5