{"id":"CVE-2020-15873","published":"2020-07-21T16:03:45Z","modified":"2024-08-04T13:30:23Z","title":"In LibreNMS before 1.65.1, an authenticated attacker can achieve SQL Injection via the customoid.inc.php device_id…","vendor":null,"product":null,"tier":"tail","description":{"text":"In LibreNMS before 1.65.1, an authenticated attacker can achieve SQL Injection via the customoid.inc.php device_id POST parameter to ajax_form.php.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02238,"percentile":0.83245,"provenance":"source"},"cwes":[],"references":[{"url":"https://research.loginsoft.com/bugs/blind-sql-injection-in-librenms/","tags":["x_refsource_MISC"]},{"url":"https://community.librenms.org/c/announcements","tags":["x_refsource_MISC"]},{"url":"https://github.com/librenms/librenms/compare/1.65...1.65.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/librenms/librenms/pull/11923","tags":["x_refsource_MISC"]},{"url":"https://github.com/librenms/librenms/commit/8f3a29cde5bbd8608f9b42923a7d7e2598bcac4e","tags":["x_refsource_MISC"]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":16.65},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2020-09-15","earliestUrl":"https://github.com/limerencee/cs4239-cve-2020-15873","repos":[{"name":"limerencee/cs4239-cve-2020-15873","url":"https://github.com/limerencee/cs4239-cve-2020-15873","stars":0,"created":"2020-09-15"}]},"first":{"date":"2020-09-15","source":"PoC-in-GitHub","url":"https://github.com/limerencee/cs4239-cve-2020-15873"},"provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"librenms/librenms","vulnerableRanges":["<1.65.1"],"patched":["1.65.1"],"from":["GHSA-g5r6-vrmx-9gwj"],"provenance":"source"}],"summary":{"text":"In LibreNMS, the flaw lies in the customoid.inc.php component, where the device_id POST parameter sent to ajax_form.php is not properly sanitised before being used in a SQL query. An authenticated attacker can exploit this SQL injection by sending a crafted device_id value through a POST request to ajax_form.php, which requires valid user credentials but no additional user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:23Z"},"euvd":{"id":"EUVD-2022-3897","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-librenms-librenms-cve-2020-15873","children":[{"from":"CVE-2020-15873","to":"CVE-2022-0589","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["includes/html/forms/customoid.inc.php"],"commits":["https://github.com/librenms/librenms/commit/8f3a29cde5bbd8608f9b42923a7d7e2598bcac4e","https://github.com/librenms/librenms/commit/4c9d4eefd8064a0285f9718ef38f5617d7f9d6fa"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2019-12464","published":"2019-09-09","fixed":"1.53","kev":false},{"cve":"CVE-2019-12465","published":"2019-09-09","fixed":"1.53","kev":false},{"cve":"CVE-2018-20678","published":"2019-03-28","fixed":"1.65","kev":false,"link":{"from":"CVE-2018-20678","to":"CVE-2020-15873","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:librenms/librenms","fromFixed":"1.65","toFixed":"1.65.1","daysApart":481}]}},{"cve":"CVE-2020-15873","published":"2020-07-21","fixed":"1.65.1","kev":false},{"cve":"CVE-2020-15877","published":"2020-07-21","fixed":"1.65.1","kev":false},{"cve":"CVE-2020-35700","published":"2021-02-08","fixed":"21.1.0","kev":false},{"cve":"CVE-2021-31274","published":"2021-09-08","fixed":"21.3.0","kev":false}],"package":"Packagist:librenms/librenms"}}