CVE-2024-51998CWE-22

Path traversal using file URI scheme without supplying hostname in changedetection.io

High · published November 7, 2024

CVSS v3.1
8.6
EPSS
1%
Percentile
52.2
In the wild
Unconfirmed
What it is

changedetection.io is a free open source web page change detection tool. The validation for the file URI scheme falls short, and results in an attacker being able to read any file on the system. This issue only affects instances with a webdriver enabled, and `ALLOW_FILE_URI` false or not defined. The check used for URL protocol, `is_safe_url`, allows `file:` as a URL scheme. It later checks if local files are permitted, but one of the preconditions for the check is that the URL starts with `file://`. The issue comes with the fact that the file URI scheme is not required to have double slashes. This issue has been addressed in version 0.47.06 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

The record
Technical detail
CVSS v3.1
8.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00688 · 52.2th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-11-07T23:34Z
EPSS history
Timeline
  • 07 NOV 23:34Z
    Path traversal using file URI scheme without supplying hostname in changedetection.io
    cvelistv5