SQL Injection in Librenms
CVE-2020-15875
An issue was discovered in LibreNMS 1.65. A remote authenticated attacker with normal privileges can extract all the information from the LibreNMS database via a SQL injection in the searchPhrase parameter in the /ajax_table.php API endpoint. This affects as-selection.inc.php, edit-ports.inc.php, alertlog-stats.inc.php, alerts.inc.php, eventlog.inc.php, inventory.inc.php, ix-list.inc.php, ix-peers.inc.php, mempool-edit.inc.php, mempool.inc.php, poll-log.inc.php, processor-edit.inc.php, processor.inc.php, routing-edit.inc.php, sensors-common.inc.php, storage-edit.inc.php, storage.inc.php, and toner.inc.php (in includes/html/table). NOTE: some sources refer to this as CVE-2020-15876, but CVE-2020-15875 is the only correct CVE ID.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (40.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 40.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.005 · change: +0.001
Affected products
Weakness classification (CWE)
References
- community.librenms.org/c/announcements
- github.com/librenms/librenms/compare/1.65...1.65.1
- github.com/librenms/librenms/releases/tag/1.65.1
- shielder.it/blog
- www.shielder.com/advisories/librenms-searchphrase-authenticated-sql-injection/
- github.com/librenms/librenms/commit/32f72bc1ab7e980e4070e826a89d0d36a5ba62dd
Frequently asked questions
- What is CVE-2020-15875?
- CVE-2020-15875 is a medium-severity vulnerability in Librenms, classified under SQL Injection. CVSS score: 5.0/10. Published 2026-09-13.
- How severe is CVE-2020-15875?
- Medium severity. CVSS v3 base score is 5.0 out of 10.