CVE-2024-22723 Webtrees Path Traversal vulnerability
An administrator can exploit a directory traversal flaw in Webtrees to access sensitive files outside the intended media directory.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-22723?
CVE-2024-22723 is a medium-severity path traversal vulnerability in n/a, published on 28 Feb 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Webtrees 2.1.18 is vulnerable to Directory Traversal. By manipulating the "media_folder" parameter in the URL, an attacker (in this case, an administrator) can navigate beyond the intended directory (the 'media/' directory) to access sensitive files in other parts of the application's file system.
Which versions are affected by CVE-2024-22723?
2 open source packages ship an affected version, including fisharebest/webtrees. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
fisharebest/webtrees Packagist | All versions to 2.1.18 | None |
fisharebest/webtrees Packagist | All versions to 2.1.18 | None |
Products include Webtrees Webtrees.
How do I fix CVE-2024-22723?
No fix has been published for CVE-2024-22723 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-22723 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-22723 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-6w5q-79rf-7c49.