CVE-2018-20678 json
LibreNMS SQL Injection
published 7y ago modified 4mo ago also GHSA-4fwh-r866-pvh9 , EUVD-2022-2372
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
LibreNMS through 1.47 allows SQL injection via the html/ajax_table.php sort[hostname] parameter, exploitable by authenticated users during a search.
Patch / fix
- packagist librenms/librenms 1.65
- github.com/librenms/librenms@32f72bc commit
- github.com/librenms/librenms#11920 pull request
Is CVE-2018-20678 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.38% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | librenms/librenms | <1.65 |
1.65 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/librenms/librenms/pull/11920
web
-
github.com
/librenms/librenms/commit/32f72bc1ab7e980e4070e826a89d0d36a5ba62dd
web
-
cert.enea.pl
/advisories/cert-190101.html
web, third-party-advisory
-
github.com
/librenms/librenms/commits/master/html/ajax_table.php
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-20678
advisory
Sources
- CVE List CVE-2018-20678
- GitHub Advisory GHSA-4fwh-r866-pvh9
- NVD CVE-2018-20678
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.