CVE-2022-42188 Lavalite vulnerable to Arbitrary File Read via Directory Traversal
Attackers can exploit path traversal in the XSRF-TOKEN cookie to read arbitrary files on 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-2022-42188?
CVE-2022-42188 is a high-severity path traversal vulnerability in n/a, published on 18 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Lavalite 9.0.0, the XSRF-TOKEN cookie is vulnerable to path traversal attacks, enabling read access to arbitrary files on the server.
Weakness: CWE-22
Which versions are affected by CVE-2022-42188?
2 open source packages ship an affected version, including lavalite/cms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
lavalite/cms Packagist | All versions | None |
lavalite/cms Packagist | All versions | None |
Products include Lavalite Lavalite.
How do I fix CVE-2022-42188?
No fix has been published for CVE-2022-42188 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-42188 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-42188 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cm22-88qr-7ffh.