CVE-2024-32461: LibreNMS vulnerable to SQL injection time-based leads to database extraction
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.29781%
CWE
Published
4/22/2024
Updated
4/23/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| librenms/librenms | composer | < 24.4.0 | 24.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from inline SQL query construction in packages.inc.php where user-controlled $_POST['package'] was directly interpolated into a SQL query string (line 83 in original code). The patch replaced this with parameterized queries (? placeholder) and added proper input handling. While no named function is explicitly mentioned, the SQL query construction logic in this file is the vulnerable component. The confidence is high as the commit diff clearly shows unsafe string interpolation being replaced with proper parameter binding.