CVE-2024-42499 FitNesse Path Traversal
Attackers can determine file existence and read partial file contents via path traversal in FitNesse.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42499?
CVE-2024-42499 is a medium-severity path traversal vulnerability in unclebob FitNesse, published on 15 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper limitation of a pathname to a restricted directory ('Path Traversal') issue exists in FitNesse releases prior to 20241026. If this vulnerability is exploited, an attacker may be able to know whether a file exists at a specific path, and/or obtain some part of the file contents under specific conditions.
Weakness: CWE-22
Which versions are affected by CVE-2024-42499?
2 open source packages ship an affected version, including org.fitnesse:fitnesse.
| Package | Affected | Fixed in |
|---|---|---|
org.fitnesse:fitnesse Maven | All versions | 20241026 |
org.fitnesse:fitnesse Maven | All versions | 20241026 |
How do I fix CVE-2024-42499?
Upgrade org.fitnesse:fitnesse to 20241026 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-42499 being exploited?
There is no known exploitation of CVE-2024-42499 in the wild and no public exploit code.
Sources
Also known as GHSA-q297-5ff8-hc92.