CVE-2020-15876
Deferred Deferred - Pending Action

SQL Injection in LibreNMS via API Sort Parameter

Vulnerability report for CVE-2020-15876, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-26

Last updated on: 2026-09-03

Assigner: MITRE

Description

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 sort parameter in the /ajax_table.php API endpoint. This affects address-search.inc.php, alertlog.inc.php, arp-search.inc.php, as-selection.inc.php, bills.inc.php, device_mibs.inc.php, device_oids.inc.php, edit-ports.inc.php, eventlog.inc.php, inventory.inc.php, ix-list.inc.php, ix-peers.inc.php, mempool-edit.inc.php, mempool.inc.php, mibs.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, tnmsneinfo.inc.php, and toner.inc.php (in includes/html/table).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-26
Last Modified
2026-09-03
Generated
2026-09-16
AI Q&A
2026-08-26
EPSS Evaluated
2026-09-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
librenms librenms 1.65

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a SQL injection flaw in LibreNMS version 1.65. It allows a remote authenticated attacker with normal user privileges to extract all information from the LibreNMS database by exploiting a SQL injection in the sort parameter of the /ajax_table.php API endpoint.

Detection Guidance

This vulnerability involves a SQL injection in LibreNMS 1.65 via the sort parameter in the /ajax_table.php API endpoint. To detect it, inspect HTTP requests to /ajax_table.php for suspicious sort parameter values containing SQL syntax like quotes or keywords (e.g., ' OR 1=1 --). Check server logs for repeated failed login attempts or unusual database queries.

Impact Analysis

An attacker could gain access to sensitive data stored in the LibreNMS database, including network device configurations, user credentials, and other confidential information. This could lead to further attacks or data breaches.

Compliance Impact

This vulnerability could lead to unauthorized access to personal or sensitive data, violating compliance requirements such as GDPR or HIPAA. Organizations may face legal penalties, fines, or reputational damage if such a breach occurs.

Mitigation Strategies

Immediately update LibreNMS to the latest version to patch the SQL injection flaw. If updating is not possible, restrict access to the /ajax_table.php endpoint via firewall rules or web server configuration. Disable the sort parameter in API calls if unused. Review database user permissions to limit access to sensitive data.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2020-15876. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart