Skip to content
Connect AISign inSign up free
CVE-2022-249009.9CriticalCWE-73

CVE-2022-24900: Absolute Path Traversal due to incorrect use of `send_file` call in Piano LED Visualizer

onlaj · Piano-LED-Visualizer

Affected: onlaj Piano-LED-Visualizer · Exploitation: check available, not yet exploited

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

8.4%probability of exploitation in the next 30 days
95th percentile
050100

Higher than 95% of scored CVEs

9.9CriticalCVSS 3.1
LowCrit.

DescriptionCVE.org

Piano LED Visualizer is software that allows LED lights to light up as a person plays a piano connected to a computer. Version 1.3 and prior are vulnerable to a path traversal attack. The `os.path.join` call is unsafe for use with untrusted input. When the `os.path.join` call encounters an absolute path, it ignores all the parameters it has encountered till that point and starts working with the new absolute path. Since the "malicious" parameter represents an absolute path, the result of `os.path.join` ignores the static directory completely. Hence, untrusted input is passed via the `os.path.join` call to `flask.send_file` can lead to path traversal attacks. A patch with a fix is available on the `master` branch of the GitHub repository. This can also be fixed by preventing flow of untrusted data to the vulnerable `send_file` function. In case the application logic necessiates this behaviour, one can either use the `flask.safe_join` to join untrusted paths or replace `flask.send_file` calls with `flask.send_from_directory` calls.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • onlaj · Piano-LED-Visualizer<= 1.3

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Check available, not yet exploited. A public nuclei template can confirm it on a system you are authorised to test.
CISA KEV
Not listed
Public check
Piano LED Visualizer 1.3 - Local File Inclusion · nuclei template in projectdiscovery/nuclei-templates
Published
April 2022

CoverageNo articles yet

No CyberSIXT article names CVE-2022-24900 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References