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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2019-09-09T12:58:13

Updated: 2024-08-04T22:32:01.651Z

Reserved: 2019-03-31T00:00:00

Link: CVE-2019-10666

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-09-09T13:15:11.357

Modified: 2024-11-21T04:19:42.790

Link: CVE-2019-10666

cve-icon Redhat

No data.