Skip to content
SQL injection Write-up Intermediate

Nagios XI 5.5.10 fusekey Authenticated SQL Injection

A SQL injection flaw in Nagios XI before 5.5.11 lets an attacker who holds a valid fusekey API key run arbitrary SQL commands by supplying a malicious user id. The text does not describe the request or the database effect beyond that.

shielder.com

Published on shielder.com

A SQL injection vulnerability in Nagios XI before 5.5.11 allows attackers with a valid ‘fusekey’ API key to execute arbitrary SQL commands via a malicious user id.

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 user id is concatenated into a SQL query without parameterisation or validation.

Impact

An attacker with a valid fusekey could execute arbitrary SQL commands, which may expose or alter data in the Nagios XI database.

What the attacker needed

A valid fusekey API key

The fix

It should be fixed by using parameterised queries for the user id and validating it, and the text notes the issue is resolved in 5.5.11.

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.

SQL injection is when a program builds a database query by gluing user input into it, so crafted input can change the query's meaning. Here the input is a user id, and the attacker must already have a special API key called a fusekey. With that key they could make the database run commands of their choosing.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.