Skip to content
SQL injection Advisory Intermediate CVE-2022-42426

Centreon Poller Broker SQL Injection Privilege Escalation Vulnerability

A user-supplied string used to build SQL queries when modifying poller broker configuration was not properly validated, allowing an authenticated attacker to inject SQL. This let an attacker escalate privileges to administrator level.

Anonymous Follow

Originally disclosed on Zero Day Initiative

High 7.2 View original

This vulnerability allows remote attackers to escalate privileges on affected installations of Centreon. Authentication is required to exploit this vulnerability.

Anonymous, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

User-supplied input in requests that modify poller broker configuration was concatenated into SQL queries without proper validation.

Impact

An authenticated attacker could escalate their privileges to the level of an administrator.

What the attacker needed

Authenticated user account; access to poller broker configuration

The fix

It was fixed in centreon-web-21.04.19, centreon-web-21.10.11 and centreon-web-22.04.6.

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 report has not been written yet. The Original tab links to the source.

The application takes text from a user and pastes it directly into a database command without checking it. A logged-in user can therefore sneak in extra database instructions, which the database runs as if they were legitimate. Because of this, the user can gain administrator rights they should not have.

What is SQL injection?

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

More by Anonymous

View all

2,270 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

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.