GitHub Advisoryadvisory · PyPI
GHSA-cwgg-57xj-g77r changedetection.io Path Traversal
MEDIUM
Official page ↗
- Aliases
- CVE-2024-51483
- Ecosystem
- PyPI
- Packages
- changedetection.io
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2024-11-01
Affected packages
• PyPI changedetection.io: < 0.47.5 → fixed in 0.47.5
Description
Summary
When a WebDriver is used to fetch files source:file:///etc/passwd can be used to retrieve local system files, where the more traditional file:///etc/passwd gets blocked
Details
The root cause is the payload source:file:///etc/passwdpasses the regex here and also passes the check here where a traditional file:///etc/passwd would get blocked
PoC
CL-ChangeDetection.io Path Travsersal-311024-181039.pdf
Impact
It depends on where the webdriver is deployed but generally this is a high impact vulnerability
Related
Alias · CVE (1)
- CVE-2024-51483 changedetection.io is free, open source web page change detection software. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-cwgg-57xj-g77r web
- https://nvd.nist.gov/vuln/detail/CVE-2024-51483 advisory
- https://github.com/dgtlmoon/changedetection.io package
- https://github.com/dgtlmoon/changedetection.io/blob/master/changedetectionio/model/Watch.py#L19 web
- https://github.com/dgtlmoon/changedetection.io/blob/master/changedetectionio/processors/__init__.py#L35 web
- https://github.com/user-attachments/files/17591630/CL-ChangeDetection.io.Path.Travsersal-311024-181039.pdf web