CVE-2024-22723 Webtrees Path Traversal vulnerability

Medium 4.9 Published Updated

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.

Weakness: CWE-22, CWE-31

Which versions are affected by CVE-2024-22723?

2 open source packages ship an affected version, including fisharebest/webtrees. It affects 1 product.

PackageAffectedFixed in
fisharebest/webtrees PackagistAll versions to 2.1.18None
fisharebest/webtrees PackagistAll versions to 2.1.18None

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.

Sources

Also known as GHSA-6w5q-79rf-7c49.

Is CVE-2024-22723 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free