CVE-2024-32480: LibreNMS Time-Based Blind SQL Injection Vulnerability

librenms/librenms Updated 02 Oct 2025

Summary

22/04/2024
Yes i
High
7.2

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for librenms/librenms.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback