Skip to content
RCE Write-up Intermediate

Nagios Incident Manager < 2.2.7 Host Remote Code Execution

An authenticated attacker could inject commands through a malicious host record in Nagios Incident Manager, leading to remote code execution. The vulnerability is in the Nagios XI API component that interacts with Nagios IM.

shielder.com

Published on shielder.com

A Command Injection vulnerability in Nagios Incident Manager (component of Nagios XI) before 2.2.7 allows authenticated attackers to achieve remote code execution via a malicious host record.

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

Impact

An authenticated attacker could execute arbitrary commands on the server, potentially taking full control of the Nagios XI instance.

What the attacker needed

Authenticated access to Nagios XI

The fix

The vulnerability was fixed in Nagios Incident Manager version 2.2.7.

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.

This is a command injection bug. When a program passes user input to the operating system without checking it, an attacker can add extra commands that the system then runs. Here, a logged-in user could create a host record that contained such extra commands, and the server would execute them.

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.