Nagios Incident Manager < 2.2.7 incident_id SQL Injection
An authenticated attacker could inject extra SQL statements through the incident_id parameter in Nagios Incident Manager before version 2.2.7. This could allow them to run arbitrary database queries.
shielder.com
Published on shielder.com
A SQL Injection vulnerability in Nagios Incident Manager (component of Nagios XI) before 2.2.7 allows authenticated attackers to inject additional SQL statements via the incidentid parameter.
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 incident_id parameter is concatenated into an SQL query without proper parameterisation or validation.
Impact
An authenticated attacker could inject additional SQL statements, potentially accessing or modifying database contents.
What the attacker needed
Authenticated account
The fix
Upgrade to Nagios Incident Manager 2.2.7 or later.
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 puts user input directly into a database command without checking it. Here, a logged-in user could send a special value in the incident_id field that changes the database query, potentially letting them read or change data they should not access.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.