SB2024042004 - Multiple vulnerabilities in LibreNMS



SB2024042004 - Multiple vulnerabilities in LibreNMS

Published: April 20, 2024 Updated: May 5, 2026

Security Bulletin ID SB2024042004
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 33% Low 67%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 vulnerabilities.


1) SQL injection (CVE-ID: CVE-2024-32461)

CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote user to disclose sensitive information and modify database contents.

The vulnerability exists due to SQL injection in librenms/includes/html/pages/search/packages.inc.php when handling POST requests to /search/search=packages. A remote user can send a specially crafted package parameter to disclose sensitive information and modify database contents.

The issue is time-based and can be used to extract database data such as administrator credentials.


2) SQL Injection: Hibernate (CVE-ID: CVE-2024-32480)

CWE-ID: CWE-564 - SQL Injection: Hibernate

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote user to extract the database.

The vulnerability exists due to SQL injection in the list_devices function in api_functions.php when handling the order parameter in API requests. A remote privileged user can send a specially crafted API request to extract the database.

Exploitation requires a valid API token with access to API functions.


3) Cross-site scripting (CVE-ID: CVE-2024-32479)

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear


The vulnerability allows a remote user to execute arbitrary script in a user's browser.

The vulnerability exists due to cross-site scripting in ServiceTemplateController.php when handling a crafted service template name that is later rendered in the delete button onclick event. A remote user can submit a specially crafted service template name to execute arbitrary script in a user's browser.

User interaction is required when the crafted template is deleted.


Remediation

Install update from vendor's website.