CVE-2020-15875LibreNMS SQL injection
CVSS score
5.0
Medium
CVSS 3.1 from mitre.org
Exploit probability (EPSS)
0.46%
0.46% chance of exploitation in the next 30 days, higher than 40.9% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
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.
Source: NVD · CNA: cve@mitre.org
How to fix it, step by step
Check whether you're affected
Find every system running LibreNMS and compare its version with the affected versions.
Update to a fixed version
- Update LibreNMS to 1.65.1 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| librenms LibreNMS | < 1.65.1 |
Weakness
- CWE-89 SQL injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2020-15875 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2020-15875?
CVE-2020-15875 has a CVSS 3.1 base score of 5.0 (medium).
Which versions are affected?
Librenms LibreNMS (< 1.65.1)
Is there a patch for CVE-2020-15875?
The official record links to vendor advisories or patches; see “What to do” above.
References
- community.librenms.org/c/announcements
- github.com/librenms/librenms/commit/32f72bc1ab7e980e4070e826a89d0d36a5ba62dd
- github.com/librenms/librenms/compare/1.65...1.65.1
- github.com/librenms/librenms/releases/tag/1.65.1
- shielder.it/blog
- www.shielder.com/advisories/librenms-searchphrase-authenticated-sql-injection/
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.