CVE-2020-15873: SQL Injection in LibreNMS customoid.inc.php (device_id parameter)
- Vendor
- Librenms
A SQL injection vulnerability exists in LibreNMS before version 1.65.1. The vulnerability is present in customoid.inc.php, where the device_id POST parameter passed to ajax_form.php is not properly sanitized, allowing an authenticated attacker to inject arbitrary SQL commands.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An authenticated attacker can exploit this vulnerability to execute arbitrary SQL queries on the LibreNMS database. This can lead to data leakage, data manipulation, or potentially full compromise of the application depending on the database privileges of the application user.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the application to trusted users, monitor for suspicious activity, and consider implementing web application firewall (WAF) rules to block SQL injection attempts until the patch can be applied.
Remediation
Patch, then assume compromise.
Upgrade LibreNMS to version 1.65.1 or later, where the input validation and sanitization for the device_id parameter has been properly implemented to prevent SQL injection.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-15873 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2020-15873 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2020-15873?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2020-15873.
- Is there a patch for CVE-2020-15873?
- Upgrade LibreNMS to version 1.65.1 or later, where the input validation and sanitization for the device_id parameter has been properly implemented to prevent SQL injection.
- What products are affected by CVE-2020-15873?
- Librenms.
- How severe is CVE-2020-15873?
- CVE-2020-15873 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 2.2% (83rd percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.