LibreNMS Time-Based Blind SQL Injection Vulnerability in Address Search

Vulnerability

A time-based blind SQL injection vulnerability has been identified in LibreNMS versions through 25.12.0. The issue resides in the 'address-search.inc.php' file, specifically within the 'address' parameter. The vulnerability allows authenticated users to manipulate SQL queries and infer database information based on the time taken for responses. This exploitation occurs by crafting specific subnet prefixes that are concatenated into SQL queries without proper parameter binding.

Impact

Exploitation of this vulnerability allows authenticated users to execute arbitrary SQL commands, leading to unauthorized data access or manipulation. In this case, it could be used to extract sensitive information from the database, including administrative credentials.

Reproduction

To reproduce this vulnerability, send a POST request to '/ajax_table.php' with a crafted 'address' parameter that includes SQL injection payloads. The injection point is within the 'ipv4' address search type. The vulnerability can be exploited by any authenticated user.

Remediation

Users are advised to update to LibreNMS version 26.2.0 or later, where this vulnerability has been fixed.

Added: Feb 20, 2026, 2:41 AM
Updated: Feb 20, 2026, 2:41 AM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
2.5
exploitability
6.6
remediation
7.7
relevance
3.0
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.