Vulnerability record · CVE-2022-0679 · published 28 March 2022
CVE-2022-0679: Narnoo Distributor WordPress plugin path traversal in lib_path parameter
NNarnoo Distributor Project · Narnoo Distributor
The Narnoo Distributor WordPress plugin through 2.5.1 fails to validate and sanitize the lib_path parameter before passing it to require() via the narnoo_distributor_lib_request AJAX action. This allows arbitrary file disclosure, with file contents returned as JSON, and may lead to remote code execution depending on the underlying system and configuration.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8 with no authentication or user interaction required, public exploit code, and high EPSS make this an urgent risk for any site running the affected plugin.
What it is
The Narnoo Distributor WordPress plugin through 2.5.1 fails to validate and sanitize the lib_path parameter before passing it to require() via the narnoo_distributor_lib_request AJAX action. This allows arbitrary file disclosure, with file contents returned as JSON, and may lead to remote code execution depending on the underlying system and configuration.
Impact
An attacker can read arbitrary files from the server, exposing sensitive data such as configuration and credential files. Under certain system configurations, the flaw could be chained to achieve remote code execution.
Attack surface
The vulnerable AJAX action is reachable over the network and is available to both unauthenticated and authenticated users, requiring no user interaction. The lib_path parameter is supplied directly in the request.
Exploitation
No CISA KEV listing is present, but EPSS is 0.4783 (98.8th percentile) and the WPScan reference is tagged Exploit, indicating public exploit code exists and exploitation is likely.
What to do
- Update the Narnoo Distributor plugin beyond version 2.5.1 or remove it if no fixed version is available.
- Restrict or disable the narnoo_distributor_lib_request AJAX action if the plugin cannot be patched immediately.
- Apply a web application firewall rule to block path traversal sequences in the lib_path parameter.
- Run WordPress with least privilege and restrict file permissions to limit the impact of arbitrary file reads.
- Monitor plugin vendor channels for a patched release and apply it as soon as it is published.
Detection
- Search web server and WordPress logs for requests to admin-ajax.php with action=narnoo_distributor_lib_request and traversal sequences in lib_path.
- Alert on AJAX requests containing lib_path values with ../ or absolute paths.
- Monitor for unusual JSON responses containing file contents from sensitive paths such as wp-config.php.
- Review file access logs for reads of configuration or credential files by the web server user.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://wpscan.com/vulnerability/0ea79eb1-6561-4c21-a20b-a1870863b0a8 | ExploitThird Party Advisory |
| https://wpscan.com/vulnerability/0ea79eb1-6561-4c21-a20b-a1870863b0a8 | ExploitThird Party Advisory |
Track CVE-2022-0679 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-0679), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.