Skip to content
SQL injection Advisory Intermediate CVE-2024-39842

Centreon updateAccessGroupLinks SQL Injection Privilege Escalation Vulnerability

The updateAccessGroupLinks function in Centreon fails to validate a user-supplied string before using it in SQL queries, allowing an authenticated attacker to inject SQL. This lets the attacker escalate privileges to resources normally protected from the user.

Simon Humbert Follow

Originally disclosed on Zero Day Initiative

Medium 4.7 View original

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

Simon Humbert of Trend Micro Security Research, 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

The updateAccessGroupLinks function builds SQL queries from user-supplied strings without proper validation, leading to SQL injection.

Impact

An authenticated remote attacker could escalate privileges to resources normally protected from the user.

What the attacker needed

Authentication required

The fix

Centreon issued an update to correct the vulnerability.

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.

Centreon is a monitoring tool. A function that updates access group links takes input from a user and puts it directly into a database query without checking it. An attacker who is already logged in can send specially crafted input that changes the query, letting them reach data or actions they should not have access to.

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 Simon Humbert

View all

7 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.