CVE-2022-31576

The heidi-luong1109/shackerpanel repository through 2021-05-25 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely

published July 11, 2022

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

⚠️ Absolute path traversal is back in business! The heidi-luong1109/shackerpanel repository lets attackers access sensitive files due to unsafe usage of the Flask send_file function. 🔍 Think of it like a mail service that delivers packages to any address without checking if the address is real – this flaw allows navigational mischief where attackers can ask for any file on the server, potentially uncovering sensitive information. An attacker could exploit this flaw to access any file on the server, leading to unauthorized information disclosure. Depending on what’s stored, this could be a treasure trove of sensitive data – a recipe for disaster!

Put simply

Think of it like a mail service that delivers packages to any address without checking if the address is real – this flaw allows navigational mischief where attackers can ask for any file on the server, potentially uncovering sensitive information. This vulnerability arises from improper handling of file paths in the Flask send_file function, allowing attackers to manipulate file paths and read files outside the intended directory.

What to do

An attacker could exploit this flaw to access any file on the server, leading to unauthorized information disclosure. Depending on what’s stored, this could be a treasure trove of sensitive data – a recipe for disaster! To protect your application, update to the latest version of shackerpanel, implement strict input validation to sanitize file paths, and consider using absolute paths judiciously. Don't forget to regularly audit your code for similar vulnerabilities! You've got this! With a few tweaks and updates, you can secure your application and keep those pesky attackers at bay! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01392 · 72.2th percentile
Published
2022-07-11T01:01Z
EPSS history
Timeline
  • 11 JUL 01:01Z
    The heidi-luong1109/shackerpanel repository through 2021-05-25 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely
    cvelistv5