Improper Neutralization of Special Elements used in a Command ('Command Injection')
The escape_command function in include/Administration/corePerformance/getStats.php in Centreon (formerly Merethis Centreon) before version 18.10.5 and 2.99.1 (fixed in Centreon 19.10.0) uses an incorrect regular expression, which allows remote authenticated users to execute arbitrary commands via shell metacharacters in the ns_id parameter.
CWE-77 - Command Injection
A command injection attack involves injecting an operating system command through the data input, which gets executed on the host operating system with the privileges of the victimized application. The impact of a command injection attack may range from loss of data confidentiality and integrity to unauthorized remote access to the hosting system. The attack may cause serious data breaches and system takeover.