CVE-2019-12464 Path Traversal in LibreNMS
Authenticated attackers can exploit a path traversal vulnerability in LibreNMS to achieve remote code execution via local file inclusion.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-12464?
CVE-2019-12464 is a high-severity path traversal vulnerability in Librenms Librenms, published on 9 Sep 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue was discovered in LibreNMS 1.50.1. An authenticated user can perform a directory traversal attack against the /pdf.php file with a partial filename in the report parameter, to cause local file inclusion resulting in code execution.
Weakness: CWE-22
Which versions are affected by CVE-2019-12464?
2 open source packages ship an affected version, including librenms/librenms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
librenms/librenms Packagist | All versions | 1.53 |
librenms/librenms Packagist | All versions | 1.53 |
Products include Librenms Librenms.
How do I fix CVE-2019-12464?
Upgrade librenms/librenms to 1.53 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-12464 being exploited?
There is no known exploitation of CVE-2019-12464 in the wild and no public exploit code.
Other vulnerabilities in Librenms Librenms
Sources
Also known as GHSA-r336-jxfr-4c3c.