CVE-2022-0679 Narnoo Distributor <= 2.5.1 - Unauthenticated LFI to Arbitrary File Read / RCE
Unauthenticated attackers can read arbitrary files and potentially execute code via path traversal in the Narnoo Distributor WordPress plugin.
- 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-0679?
CVE-2022-0679 is a critical path traversal vulnerability in Unknown Narnoo Distributor, published on 28 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Narnoo Distributor WordPress plugin through 2.5.1 fails to validate and sanitize the lib_path parameter before it is passed into a call to require() via the narnoo_distributor_lib_request AJAX action (available to both unauthenticated and authenticated users) which results in the disclosure of arbitrary files as the content of the file is then displayed in the response as JSON data. This could also lead to RCE with various tricks but depends on the underlying system and it's configuration.
Weakness: CWE-22
Which versions are affected by CVE-2022-0679?
It affects 1 product.
Products include Narnoo Distributor Project Narnoo Distributor.
How do I fix CVE-2022-0679?
No fix has been published for CVE-2022-0679 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-0679 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0679 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-vr55-fv2w-8fhh.