Arbitrary Code Injection Affecting librenms/librenms package, versions <23.9.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (32nd percentile)

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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-LIBRENMSLIBRENMS-5903101
  • published15 Sept 2023
  • disclosed15 Sept 2023
  • credithainguyen0207

Introduced: 15 Sep 2023

CVE-2023-4977  (opens in a new tab)
CWE-94  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade librenms/librenms to version 23.9.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 Arbitrary Code Injection due to the improper input sanitisation in the search.inc.php file. An attacker can inject malicious scripts that can be executed by the user's browser.

Note: In order to exploit this vulnerability, an account is required.

PoC

search=<b>test/b>

References

CVSS Scores

version 3.1