Description
Centreon 18.x before 18.10.6, 19.x before 19.04.3, and Centreon web before 2.8.29 allows the attacker to execute arbitrary system commands by using the value "init_script"-"Monitoring Engine Binary" in main.get.php to insert a arbitrary command into the database, and execute it by calling the vulnerable page www/include/configuration/configGenerate/xml/generateFiles.php (which passes the inserted value to the database to shell_exec without sanitizing it, allowing one to execute system arbitrary commands).
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- Centron 19.04 - Remote Code Execution (RCE) EDB-52156 · webapps · Apr 10, 2025
- Centreon 19.04 - Remote Code Execution EDB-47069 · webapps · Jul 2, 2019
GitHub 2 repositories
-
mhaskar/CVE-2019-13024 ★ 11 · Aug 24, 2019
The official exploit code for Centreon v19.04 Remote Code Execution CVE-2019-13024
-
get-get-get-get/Centreon-RCE ★ 1 · Nov 8, 2019
Centreon v.19.04 Remote Code Execution exploit (CVE-2019-13024)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://gist.github.com/mhaskar/c4255f6cf45b19b8a852c780f50576da
- https://shells.systems/centreon-v19-04-remote-code-execution-cve-2019-13024/
- http://packetstormsecurity.com/files/153504/Centreon-19.04-Remote-Code-Execution.html
- https://github.com/centreon/centreon/pull/7694
- https://documentation.centreon.com/docs/centreon/en/latest/release_notes/centreon-19.04/centreon-19.04.3.html
- https://documentation.centreon.com/docs/centreon/en/latest/release_notes/centreon-18.10/centreon-18.10.6.html