← back
CVE-2024-32461

LibreNMS vulnerable to time-based SQL injection that leads to database extraction

CVSS 7.1 HIGHEPSS 19.1%CWE-89
In short

LibreNMS contains a SQL injection flaw in its package search feature that allows authorized users to extract sensitive data from the database, including admin credentials, by injecting malicious SQL commands.

Technical detail

A time-based SQL injection vulnerability exists in the POST /search endpoint's package parameter in LibreNMS versions before 24.4.0. An authenticated user with global read privileges can inject arbitrary SQL to extract database contents; the vulnerability requires valid credentials but allows complete database compromise.

Summary generated and translated by AI from the official description.
LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. A SQL injection vulnerability in POST /search/search=packages in LibreNMS prior to version 24.4.0 allows a user with global read privileges to execute SQL commands via the package parameter. With this vulnerability, an attacker can exploit a SQL injection time based vulnerability to extract all data from the database, such as administrator credentials. Version 24.4.0 contains a patch for the vulnerability.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Affected products
librenms · librenms

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →