Command Injection Affecting librenms/librenms package, versions <24.10.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-LIBRENMSLIBRENMS-8383157
  • published17 Nov 2024
  • disclosed15 Nov 2024
  • creditmallo-m

Introduced: 15 Nov 2024

CVE-2024-51092  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade librenms/librenms to version 24.10.0 or higher.

Overview

librenms/librenms is a fully featured network monitoring system that provides a wealth of features and device support.

Affected versions of this package are vulnerable to Command Injection via the shell_exec() function in AboutController.php. A malicious device whose hostname includes shell metacharacters can allow arbitrary code to be run on the underlying OS when a legitimate user runs the PollDevice job. A user who can modify configuration settings can implant the malicious file on the target system.

References

CVSS Scores

version 4.0
version 3.1