Security advisory
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).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15876
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:53 UTC · Revision 1
Source evidence
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).
osv:CVE-2020-15876
Complete source record
{
"id": "3a31379575878fc593b1d736b482cbfdc38dbb01128cd634d0c66ce8635c30a7",
"url": "https://osv.dev/vulnerability/CVE-2020-15876",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15876",
"summary": "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).",
"evidence": "osv:CVE-2020-15876",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-15876",
"aliases": [
"CVE-2020-15876"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/librenms/librenms",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "15496dffd964a5033196550dcaef8c67e97e8b95"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "15496dffd964a5033196550dcaef8c67e97e8b95"
}
],
"source": "REFERENCES_TAG",
"original_tag": "1.65.1"
}
]
}
}
],
"versions": [
"1.65",
"1.64.1",
"1.64",
"1.63",
"1.62",
"1.61",
"1.60",
"1.59",
"1.58.1",
"1.58",
"1.57",
"1.56",
"1.55",
"1.54",
"1.53.1",
"1.53",
"1.52",
"1.51",
"1.50",
"1.49",
"1.48.1",
"1.48",
"1.47",
"1.46",
"1.45",
"1.44",
"1.43",
"1.42.01",
"1.42",
"1.41",
"1.40",
"1.39",
"1.38",
"1.37",
"1.36",
"1.35",
"1.33",
"1.32",
"1.31.03",
"1.31.02",
"1.31.01",
"1.28",
"1.27",
"1.26",
"1.25",
"1.21",
"201609",
"1.20",
"20160828",
"1.19",
"201608",
"201607",
"201606",
"201605",
"201604",
"201603",
"201602",
"201601",
"201512",
"201511",
"201510",
"201509",
"201508",
"201507",
"201505",
"201506",
"0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15876.json"
}
}
],
"modified": "2026-10-20T10:51:57.175003700Z",
"provider": "osv",
"references": [
"https://community.librenms.org/c/announcements",
"https://github.com/librenms/librenms/compare/1.65...1.65.1",
"https://github.com/librenms/librenms/releases/tag/1.65.1",
"https://www.shielder.com/advisories/librenms-searchphrase-authenticated-sql-injection/",
"https://shielder.it/blog"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-15876",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383157,
"published_at": "2026-08-26T17:16:45.08+00:00"
}