Arbitrary Command Execution Affecting centreon/centreon package, versions <19.10.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Mature
    EPSS
    34.93% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-CENTREONCENTREON-451340
  • published 2 Jul 2019
  • disclosed 1 Jul 2019
  • credit Askar

How to fix?

Upgrade centreon/centreon to version 19.10.0 or higher.

Overview

centreon/centreon is a network, system, applicative supervision and monitoring tool.

Affected versions of this package are vulnerable to Arbitrary Command Execution. An attacker can execute arbitrary system commands by using the value "init_script"-"Monitoring Engine Binary" in main.get.php to insert an 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).

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High