Exploit database

Vulnerability

CVE-2024-51092

Vulnerability details

Score
9.1
Severity
critical

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L

Description

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutController.php's index(), SettingsController.php's update(), and PollDevice.php's initRrdDirectory().

CVE Program

Exploit source choices

1 source
LibreNMS Authenticated RCE (CVE-2024-51092)
MSF-linux--http--librenms_authenticated_rce_cve_2024_51092MetasploitLinux,Unix / remotePreferred

An authenticated attacker can create dangerous directory names on the system and alter sensitive configuration parameters through the web portal. Those two defects combined then allows to inject arbitrary OS commands inside shell_exec() calls, thus achieving arbitrary code execution.

2024-11-15librenms_authenticated_rce_cve_2024_51092.rb