RCE in Centreon
CVE-2015-1561
The escape_command function in include/Administration/corePerformance/getStats.php in Centreon (formerly Merethis Centreon) 2.5.4 and earlier (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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.5 (Medium). Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.083, 95.0th percentile (scored ); down from 0.091 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.091 · newest: 0.083 · change: -0.009
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, Iansus/Centreon-CVE-2015-1560_1561). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- packetstormsecurity.com/files/132607/Merethis-Centreon-2.5.4-SQL-Injection-Remo… (Exploit)
- forge.centreon.com/projects/centreon/repository/revisions/387dffdd051dbc7a234e1…
- 20150708 Merethis Centreon - Unauthenticated blind SQLi and Authenticated Remote Command Execution (mailing-list)
- github.com/centreon/centreon/commit/a78c60aad6fd5af9b51a6d5de5d65560ea37a98a