Centreon Multi-Vector RCE — Path Traversal, Command Injection & Blind SQLi (CVE-2026-2749)
by hakaioffsec (Hakai Security / QuimeraX Intelligence) · 2026-07-05
- Severity
- Critical
- CVE
- CVE-2026-2749 (bundled with related CVE-2026-2750, CVE-2026-2751)
- Category
- web
- Affected product
- Centreon (open-source IT infrastructure monitoring platform)
- Affected versions
- All versions prior to 25.10, including 24.10 and 24.04
- Disclosed
- 2026-07-05
- Patch status
- patched
Archive entry
intelseclab/poc-archiveMetadata
| Field | Value |
|---|---|
| Date Added | 2026-07-05 |
| Last Updated | 2026-03 |
| Author / Researcher | hakaioffsec (Hakai Security / QuimeraX Intelligence) |
| CVE / Advisory | CVE-2026-2749 (bundled with related CVE-2026-2750, CVE-2026-2751) |
| Category | web |
| Severity | Critical |
| CVSS Score | Not specified in source |
| Status | Weaponized |
| Tags | centreon, path-traversal, rce, command-injection, sql-injection, clapi, monitoring, php |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | Centreon (open-source IT infrastructure monitoring platform) |
| Versions Affected | All versions prior to 25.10, including 24.10 and 24.04 |
| Language / Platform | Python 3 exploit scripts against PHP-based Centreon web application |
| Authentication Required | Yes (valid PHPSESSID session cookie required for all three vectors) |
| Network Access Required | Yes |
Summary
This repository bundles three distinct, authenticated vulnerabilities in Centreon that were disclosed together. CVE-2026-2749 is a path traversal flaw in the Open Tickets upload feature that allows arbitrary file write, which can be escalated to remote code execution by writing a malicious file into a web-accessible path. CVE-2026-2750 is an OS command injection in the CLAPI generatetraps function caused by unsanitized input reaching a passthru() call. CVE-2026-2751 is a blind SQL injection reachable through unsanitized array keys in the Service Dependencies feature, which can be used to dump credentials from the underlying database. All three PoCs require a valid session cookie and drive the exploitation end-to-end from the command line.
Vulnerability Details
Root Cause
- Path Traversal → RCE: the Open Tickets file upload handler does not validate/sanitize the destination filename, allowing directory traversal sequences to place attacker-controlled content outside the intended upload directory.
- Command Injection: the CLAPI
generatetrapsaction passes user-controlled parameters into apassthru()shell call without sanitization. - Blind SQL Injection: array keys used to build SQL queries in the Service Dependencies module are not parameterized, allowing boolean/time-based blind injection.
Attack Vector
- Authenticate to Centreon and obtain a valid
PHPSESSIDcookie. - Path traversal: Run
pathtraversal_rce.pyagainst the Open Tickets upload endpoint with a traversal payload to write a web shell/PHP file, then trigger it to execute an OS command. - Command injection: Run
cmdi_rce.pyagainst the CLAPIgeneratetrapsaction, injecting shell metacharacters into a parameter consumed bypassthru()to execute arbitrary commands. - Blind SQLi: Run
sqli_dump.pyagainst the Service Dependencies endpoint, sending crafted array-key payloads and inferring true/false conditions from response differences to extract database contents (e.g., user credentials).
Impact
Complete compromise of the Centreon server: arbitrary command execution as the web server user via two independent RCE paths, plus credential exfiltration via blind SQL injection — enabling full monitoring-infrastructure and potentially lateral network takeover.
Environment / Lab Setup
Target: Centreon (any version < 25.10, incl. 24.10 / 24.04), reachable over HTTP(S)
Attacker: Python 3, `requests` library, valid Centreon session cookie (PHPSESSID)
Proof of Concept
PoC Script
See
pathtraversal_rce.py(CVE-2026-2749),cmdi_rce.py(CVE-2026-2750), andsqli_dump.py(CVE-2026-2751) in this folder.
| |
Each script authenticates using the supplied cookie, sends the crafted request for its respective vulnerability, and prints command output (for the RCE vectors) or dumped database data (for the SQLi vector).
Detection & Indicators of Compromise
Signs of compromise:
- Unexpected PHP files written under Centreon’s web-accessible upload directories.
- Anomalous child processes spawned by the web server (e.g.,
sh,bash,id,whoami) originating from the Centreon PHP-FPM/Apache process. - Unusual outbound queries or timing patterns in the Centreon database logs correlating with Service Dependencies requests.
Remediation
| Action | Detail |
|---|---|
| Primary fix | Upgrade to Centreon 25.10 or later, which addresses CVE-2026-2749, CVE-2026-2750, and CVE-2026-2751 per Centreon’s security bulletins |
| Interim mitigation | Restrict network access to the Centreon web interface, enforce least-privilege on uploaded file execution, and monitor CLAPI/Service Dependencies endpoints for anomalous input |
References
Notes
Mirrored from https://github.com/hakaioffsec/Centreon-Exploits-2026 on 2026-07-05.
| |