CVE-2023-40297 Stakater Forecastle has a directory traversal vulnerability
An attacker can exploit directory traversal in Stakater Forecastle to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-40297?
CVE-2023-40297 is a high-severity path traversal vulnerability in n/a, published on 15 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Stakater Forecastle 1.0.139 and before allows %5C../ directory traversal in the website component.
Weakness: CWE-22
Which versions are affected by CVE-2023-40297?
3 open source packages ship an affected version, including github.com/stakater/Forecastle.
| Package | Affected | Fixed in |
|---|---|---|
github.com/stakater/Forecastle Go | All versions | None |
github.com/stakater/Forecastle Go | All versions to 1.0.139 | None |
github.com/stakater/Forecastle Go | All versions to 1.0.139 | None |
How do I fix CVE-2023-40297?
No fix has been published for CVE-2023-40297 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-2023-40297 being exploited?
There is no known exploitation of CVE-2023-40297 in the wild and no public exploit code.
Sources
Also known as GHSA-x8xm-wrjq-5g54, GO-2024-2865.