CVE-2020-15875 SQL injection in LibreNMS

Medium 5.0 Published Updated

Authenticated attackers can extract all database information via SQL injection in the searchPhrase parameter of the LibreNMS web application.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-15875?

CVE-2020-15875 is a medium-severity SQL injection vulnerability in LibreNMS, published on 13 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-89

Which versions are affected by CVE-2020-15875?

How do I fix CVE-2020-15875?

No fix has been published for CVE-2020-15875 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2020-15875 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-15875 exists.

Sources

Also known as GHSA-63h9-9gmf-c466.

Is CVE-2020-15875 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free