CVE-2022-25298 Path Traversal
Attackers can traverse directories to read arbitrary files from the server using the sprinfall/webcc library.
- 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-2022-25298?
CVE-2022-25298 is a high-severity path traversal vulnerability in sprinfall/webcc, published on 18 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects the package sprinfall/webcc before 0.3.0. It is possible to traverse directories to fetch arbitrary files from the server.
Weakness: CWE-22
Which versions are affected by CVE-2022-25298?
It affects 1 product.
Products include Webcc Project Webcc.
How do I fix CVE-2022-25298?
No fix has been published for CVE-2022-25298 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-2022-25298 being exploited?
There is no known exploitation of CVE-2022-25298 in the wild and no public exploit code.
Sources
Also known as GHSA-g664-7x59-5f42, SNYK-UNMANAGED-SPRINFALLWEBCC-2404182.