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).
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An authenticated SQL injection flaw was found in LibreNMS 1.65 that lets a regular authenticated user exploit the sort parameter in the /ajax_table.php API to retrieve the entire database content. The vulnerability is a classic injection of SQL statements, which can expose all stored network asset data, configuration details, log entries, and other sensitive information.

Affected Systems

LibreNMS version 1.65, before the 1.65.1 release, is affected. The platform is an open‑source network monitoring tool; no other vendor or product line is specified. Versions subsequent to 1.65.1 are not listed as impacted.

Risk and Exploitability

Because the flaw requires only normal authenticated access, any user that can log into the web interface can send a crafted request to the vulnerable endpoint. The CVSS score is not provided, the EPSS score is not available, and the vulnerability is not in CISA’s KEV catalog, but the possible full database disclosure represents a high risk. No publicly known exploit was reported at the time of disclosure; the attack vector is inferred to be a crafted HTTP request to /ajax_table.php with user‑controlled sort input.

Generated by OpenCVE AI on August 26, 2026 at 19:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update LibreNMS to version 1.65.1 or newer to eliminate the vulnerable sort handling in the /ajax_table.php endpoint.
  • Verify that the /ajax_table.php API no longer accepts arbitrary values for the sort parameter and that any remaining input is properly sanitized before use in database queries.
  • Enforce least privilege for user accounts so that only roles requiring access to the AJAX table endpoint can involve that feature.

Generated by OpenCVE AI on August 26, 2026 at 19:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Title Authenticated SQL Injection via Sort Parameter in LibreNMS AJAX API
Weaknesses CWE-89

Wed, 26 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
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).
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-26T16:55:24.680Z

Reserved: 2020-07-21T00:00:00.000Z

Link: CVE-2020-15876

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T17:16:45.080

Modified: 2026-08-26T17:16:45.080

Link: CVE-2020-15876

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T19:15:10Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')