Vulnerability Description
An issue was discovered in LibreNMS through 1.47. Several of the scripts perform dynamic script inclusion via the include() function on user supplied input without sanitizing the values by calling basename() or a similar function. An attacker can leverage this to execute PHP code from the included file. Exploitation of these scripts is made difficult by additional text being appended (typically .inc.php), which means an attacker would need to be able to control both a filename and its content on the server. However, exploitation can be achieved as demonstrated by the csv.php?report=../ substring.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Librenms | Librenms | <= 1.47 |
Related Weaknesses (CWE)
References
- https://www.darkmatter.ae/xen1thlabs/librenms-limited-local-file-inclusion-via-dExploitThird Party Advisory
- https://www.darkmatter.ae/xen1thlabs/librenms-limited-local-file-inclusion-via-dExploitThird Party Advisory
FAQ
What is CVE-2019-10666?
CVE-2019-10666 is a vulnerability with a CVSS score of 8.1 (HIGH). An issue was discovered in LibreNMS through 1.47. Several of the scripts perform dynamic script inclusion via the include() function on user supplied input without sanitizing the values by calling bas...
How severe is CVE-2019-10666?
CVE-2019-10666 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-10666?
Check the references section above for vendor advisories and patch information. Affected products include: Librenms Librenms.