Skip to content
RCE Write-up Intermediate

LibreNMS /about Authenticated Command Injection

An authenticated user with normal privileges could inject commands through the /about API endpoint in LibreNMS 1.65, leading to remote code execution on the host. The text does not provide further technical detail on how the injection works.

shielder.com

Published on shielder.com

LibreNMS 1.65 is affected by an authenticated command-injection vulnerability in the /about API endpoint. A ’normal’ privileges attacker can gain Remote Code Execution (RCE) on the LibreNMS host.

The author, on shielder.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the /about endpoint passes user-supplied input into a shell command without sanitisation.

Impact

A normal-privileges attacker could gain remote code execution on the LibreNMS host.

What the attacker needed

Authenticated account with normal privileges

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Command injection is when a program passes user input to a system command without proper cleaning, so an attacker can add extra commands. Here, a logged-in user with ordinary rights could make the LibreNMS server run their own commands, taking over the machine.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.