#VU32706 SQL injection in LibreNMS


Published: 2020-10-05

Vulnerability identifier: #VU32706

Vulnerability risk: Medium

CVSSv3.1: 7.9 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2020-15873

CWE-ID: CWE-89

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
LibreNMS
Other software / Other software solutions

Vendor: LibreNMS Project

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via the customoid.inc.php "device_id" POST parameter to ajax_form.php. A remote authenticated attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.

Mitigation
Install update from vendor's website.

Vulnerable software versions

LibreNMS: 0.1 - 1.65


External links
http://community.librenms.org/c/announcements
http://github.com/librenms/librenms/commit/8f3a29cde5bbd8608f9b42923a7d7e2598bcac4e
http://github.com/librenms/librenms/compare/1.65...1.65.1
http://github.com/librenms/librenms/pull/11923
http://research.loginsoft.com/bugs/blind-sql-injection-in-librenms/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability