CVE-2022-42188 Lavalite vulnerable to Arbitrary File Read via Directory Traversal

High 7.5 Published Updated

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.

PackageAffectedFixed in
lavalite/cms PackagistAll versionsNone
lavalite/cms PackagistAll versionsNone

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.

Sources

Also known as GHSA-cm22-88qr-7ffh.

Is CVE-2022-42188 in your software?

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

Check your SBOMs for free