module

LibreNMS Authenticated RCE (CVE-2024-51092)

Disclosed
2024-11-15
Created
2025-01-20

Description

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.

Authors

murrant (Tony Murray)
Takahiro Yokoyama

Platform

Linux

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/linux/http/librenms_authenticated_rce_cve_2024_51092
msf exploit(librenms_authenticated_rce_cve_2024_51092) > show targets
...targets...
msf exploit(librenms_authenticated_rce_cve_2024_51092) > set TARGET < target-id >
msf exploit(librenms_authenticated_rce_cve_2024_51092) > show options
...show and set options...
msf exploit(librenms_authenticated_rce_cve_2024_51092) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.