CVE-2022-31548

The nrlakin/homepage repository through 2017-03-06 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely

published July 11, 2022

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

⚠️ A crafty oversight in the nrlakin/homepage repository allows absolute path traversal, putting your files in an unexpected spotlight! 🔍 This flaw is like a hotel receptionist who doesn’t check ID and hands over room keys based on guests simply asking for them — anyone could walk into any room! An attacker could potentially access sensitive files on the server, leading to data leaks or even data modification. Imagine someone sifting through your personal belongings without permission — it’s absolutely unsettling!

Put simply

This flaw is like a hotel receptionist who doesn’t check ID and hands over room keys based on guests simply asking for them — anyone could walk into any room! This vulnerability arises because the Flask send_file function is used without proper validation, allowing attackers to manipulate paths and access unauthorized files on the server.

What to do

An attacker could potentially access sensitive files on the server, leading to data leaks or even data modification. Imagine someone sifting through your personal belongings without permission — it’s absolutely unsettling! To protect against this, ensure all file requests are properly validated and sanitized. Update your application to use secure methods that restrict file access to intended locations. Regularly audit your codebase for similar issues as part of your security hygiene. You've got this! Implement these steps, and you'll have your system locked down tighter than a drum. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01337 · 71.0th percentile
Published
2022-07-11T00:58Z
EPSS history
Timeline
  • 11 JUL 00:58Z
    The nrlakin/homepage repository through 2017-03-06 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely
    cvelistv5