CVE-2015-1561: Centreon/centreon Centreon Command Injection Vulnerability
HIGHCVE-2015-1561 is a HIGH (CVSS 8.5) centreon command injection vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Centreon/centreon libraries in the Packagist ecosystem. The issue involves centreon command injection. Remediation is available by upgrading affected packages to version 2.8.28.
CVE-2015-1561 at a Glance
Security Impact
CVSS: 8.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2015-1561
To remediate this vulnerability, upgrade all affected Centreon/centreon dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade centreon/centreon to 2.8.28
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for centreon/centreon
How to Check if You Are Affected
To determine whether your application is affected by CVE-2015-1561, inspect your project dependencies for Centreon/centreon:
inspect dependencies for centreon/centreon
Analyze the terminal output to locate any version of Centreon/centreon in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.8.28), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Centreon/centreon, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2015-1561 Affected Centreon/centreon Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
centreon/centreon
|
Packagist |
< 2.8.28
|
2.8.28
|
References
Frequently Asked Questions
What is CVE-2015-1561?
Which Centreon/centreon versions are affected?
What version fixes CVE-2015-1561?
Is centreon/centreon affected?
What is the CVSS score of CVE-2015-1561?
What CWE is associated with CVE-2015-1561?
How can I check Packagist dependencies for CVE-2015-1561?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c4fj-3wqq-g9c9",
"modified" : "2023-08-02T21:13:03Z",
"published" : "2022-05-14T00:55:18Z",
"aliases" : [ "CVE-2015-1561" ],
"summary" : "Centreon Command Injection",
"details" : "The `escape_command` function in `include/Administration/corePerformance/getStats.php` in Centreon (formerly Merethis Centreon) 2.5.4 and earlier (offending file deleted 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.\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "centreon/centreon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.8.28"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-1561"
}, {
"type" : "WEB",
"url" : "https://github.com/centreon/centreon-archived/pull/7083"
}, {
"type" : "WEB",
"url" : "https://github.com/centreon/centreon-archived/pull/7271"
}, {
"type" : "WEB",
"url" : "https://github.com/centreon/centreon-archived/commit/387dffdd051dbc7a234e1138a9d06f3089bb55bb"
}, {
"type" : "WEB",
"url" : "https://github.com/centreon/centreon-archived/commit/a78c60aad6fd5af9b51a6d5de5d65560ea37a98a"
}, {
"type" : "WEB",
"url" : "https://forge.centreon.com/projects/centreon/repository/revisions/387dffdd051dbc7a234e1138a9d06f3089bb55bb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/centreon/centreon-archived"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20201125112637/http://www.securityfocus.com/archive/1/535961/100/0/threaded"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/132607/Merethis-Centreon-2.5.4-SQL-Injection-Remote-Command-Execution.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-02T21:07:53Z",
"nvd_published_at" : "2015-07-14T16:59:00Z"
}
}