CVE-2024-32461 — Vulnerability in librenms/librenms — CVE Details
LibreNMS vulnerable to SQL injection time-based leads to database extraction
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.11%). Schedule for your next planned update.
Does your project use an affected librenms/librenms version?
Paste your composer.lock to check it for CVE-2024-32461 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
SQL injection vulnerability in POST /search/search=packages in LibreNMS 24.3.0 allows a user with global read privileges to execute SQL commands via the package parameter.
Details
There is a lack of hygiene of data coming from the user in line 83 of the file librenms/includes/html/pages/search/packages.inc.php
PoC
https://doc.clickup.com/9013166444/p/h/8ckm0bc-53/16811991bb5fff6
Impact
With this vulnerability, we can exploit a SQL injection time based vulnerability to extract all data from the database, such as administrator credentials
Advisory Timeline
- First published April 22, 2024 (948 days ago).
- Last revised September 10, 2026 — 870 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "librenms/librenms:^24.4.0"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| librenms/librenms Packagist · Affected: 1.19, 1.20, 1.20.1, 1.21 (+117 more) | 24.4.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/librenms/librenms/security/advisories/GHSA-cwx6-cx7x-4q34WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-32461ADVISORY
- https://github.com/librenms/librenms/commit/d29201fce134347f891102699fbde7070debee33WEB
- https://doc.clickup.com/9013166444/p/h/8ckm0bc-53/16811991bb5fff6WEB
- https://github.com/librenms/librenmsPACKAGE
Frequently Asked Questions
- What is CVE-2024-32461?
- LibreNMS vulnerable to SQL injection time-based leads to database extraction. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2024-32461?
- CVE-2024-32461 affects librenms/librenms. It has a 1.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-32461 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 65.4% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2024-51092CRITICAL
LibreNMS has an Authenticated OS Command Injection
- CVE-2022-4070CRITICAL
Insufficient Session Expiration in librenms/librenms
- CVE-2026-84189HIGH
LibreNMS: SSRF-driven stored XSS via Oxidized API response fields in device showconfig page
- CVE-2026-84192HIGH
LibreNMS — Stored XSS via SNMP/Syslog Data in Legacy Templates
- CVE-2024-47523MEDIUM
LibreNMS has Stored Cross-site Scripting vulnerability in "Alert Transports" feature
- CVE-2025-62365MEDIUM
LibreNMS is vulnerable to Reflected-XSS in `report_this` function
- CVE-2025-55296MEDIUM
LibreNMS allows stored XSS in Alert Template name field
- CVE-2024-47528LOW
LibreNMS vulnerable to Stored Cross-site Scripting via File Upload