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

    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 ID SNYK-PHP-LIBRENMSLIBRENMS-8383157
  • published 17 Nov 2024
  • disclosed 15 Nov 2024
  • credit mallo-m

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
Expand this section

Snyk

Recommended
6.2 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Active
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    High
  • Integrity (SI)
    Low
  • Availability (SA)
    Low