CVE-2022-42002 Path traversal in n/a
Unauthenticated attackers can overwrite or delete arbitrary files via fileCreate and fileUpdate mutations, potentially leading to code execution.
- 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-42002?
CVE-2022-42002 is a critical path traversal vulnerability in n/a, published on 30 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SonicJS through 0.6.0 allows file overwrite. It has the following mutations that are used for updating files: fileCreate and fileUpdate. Both of these mutations can be called without any authentication to overwrite any files on a SonicJS application, leading to Arbitrary File Write and Delete.
Weakness: CWE-787
Which versions are affected by CVE-2022-42002?
It affects 1 product.
Products include Sonicjs Sonicjs.
How do I fix CVE-2022-42002?
No fix has been published for CVE-2022-42002 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-42002 being exploited?
There is no known exploitation of CVE-2022-42002 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-pc9q-654c-78w3.