RULE(RULE ID:330265)

Rule General Information
Release Date: 2020-06-01
Rule Name: Centreon nagios path OS Command Injection Vulnerability (CVE-2019-13024)
Severity:
CVE ID:
Rule Protection Details
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).
Impact: An attacker can execute arbitrary command via a successful exploit in the context of the vulnerable software.
Affected OS: Windows, Linux, Others
Reference: http://packetstormsecurity.com/files/153504/Centreon-19.04-Remote-Code-Execution.html
https://documentation.centreon.com/docs/centreon/en/latest/release_notes/centreon-18.10/centreon-18.10.6.html
https://documentation.centreon.com/docs/centreon/en/latest/release_notes/centreon-19.04/centreon-19.04.3.html
https://gist.github.com/mhaskar/c4255f6cf45b19b8a852c780f50576da
Solutions
The vendors have released upgrade patches to fix vulnerabilities, please visit:
https://www.centreon.com/