CVE-2024-32480: LibreNMS Time-Based Blind SQL Injection Vulnerability
Summary
CVE-2024-32480: LibreNMS vulnerable to a Time-Based Blind SQL injection leads to database extraction. Affects librenms/librenms versions < 24.4.0. Fixed in 24.4.0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
LibreNMS is an open-source network monitoring and management system. It provides a comprehensive set of features for monitoring network devices, collecting performance data, and generating alerts. The vulnerability described here affects LibreNMS versions 23.9.1 and 24.2.0. It is a Time-Based Blind SQL injection vulnerability that can be exploited by an attacker to extract sensitive information from the database.
Vulnerability Detail
The vulnerability exists in the 'list_devices' function in the 'api_functions.php' file of LibreNMS. The 'order' parameter, obtained from the user's request, is directly incorporated into an SQL statement without proper sanitization. This allows an attacker to inject malicious SQL code and manipulate the query. By exploiting this vulnerability, an attacker can extract sensitive information from the database, such as the current database user. The impact of this vulnerability is significant as it can lead to unauthorized access to sensitive data.
How To Fix
Minimum fixed version
24.4.0
This is the first release that contains the fix.
composer require librenms/librenms:24.4.0
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround provided for this vulnerability. Upgrading to the latest version is the recommended solution.
Conclusion
The Time-Based Blind SQL injection vulnerability in LibreNMS can lead to unauthorized access to sensitive data. It is crucial for users to upgrade to the latest version of LibreNMS and follow best practices for securing their network monitoring systems. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for librenms/librenms →
FAQ
LibreNMS is an open-source network monitoring and management system.
The vulnerability affects versions 23.9.1 and 24.2.0 of LibreNMS.
The vulnerability allows an attacker to extract sensitive information from the database, potentially leading to unauthorized access to sensitive data.
To fix this vulnerability, it is recommended to upgrade to the latest version of LibreNMS (version 24.4.0 or later).
No specific workaround is provided. Upgrading to the latest version is the recommended solution.
References
Related vulnerabilities
Recent vulnerabilities recorded for librenms/librenms.