Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. centreon/centreon
  4. ›
  5. CVE-2015-1561

CVE-2015-1561: Improper Neutralization of Special Elements used in a Command ('Command Injection')

May 14, 2022 (updated August 2, 2023)

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.

References

  • packetstormsecurity.com/files/132607/Merethis-Centreon-2.5.4-SQL-Injection-Remote-Command-Execution.html
  • forge.centreon.com/projects/centreon/repository/revisions/387dffdd051dbc7a234e1138a9d06f3089bb55bb
  • github.com/advisories/GHSA-c4fj-3wqq-g9c9
  • github.com/centreon/centreon-archived/commit/387dffdd051dbc7a234e1138a9d06f3089bb55bb
  • github.com/centreon/centreon-archived/commit/a78c60aad6fd5af9b51a6d5de5d65560ea37a98a
  • github.com/centreon/centreon-archived/pull/7083
  • github.com/centreon/centreon-archived/pull/7271
  • nvd.nist.gov/vuln/detail/CVE-2015-1561
  • web.archive.org/web/20201125112637/http://www.securityfocus.com/archive/1/535961/100/0/threaded

Code Behaviors & Features

Detect and mitigate CVE-2015-1561 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.8.28

Fixed versions

  • 2.8.28

Solution

Upgrade to version 2.8.28 or above.

Impact 6.5 MEDIUM

AV:N/AC:L/Au:S/C:P/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/centreon/centreon/CVE-2015-1561.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:00 +0000.