CVE-2024-3178: Concrete5/concrete5 Cross-Site Scripting Vulnerability
LOWCVE-2024-3178 is a LOW (CVSS 3.1) cross-site scripting vulnerability (CWE-20: Improper Input Validation) affecting Concrete5/concrete5 libraries in the Packagist ecosystem. The issue involves concrete cms cross-site scripting (xss) in the advanced file search filter. Remediation is available by upgrading affected packages to version 9.2.8, 8.5.16.
CVE-2024-3178 at a Glance
Security Impact
CVSS: 3.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L).
How to Fix CVE-2024-3178
To remediate this vulnerability, upgrade all affected Concrete5/concrete5 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 concrete5/concrete5 to 9.2.8
Upgrade concrete5/concrete5 to 8.5.16
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for concrete5/concrete5
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-3178, inspect your project dependencies for Concrete5/concrete5:
inspect dependencies for concrete5/concrete5
Analyze the terminal output to locate any version of Concrete5/concrete5 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.2.8), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Concrete5/concrete5, 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-2024-3178 Affected Concrete5/concrete5 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
concrete5/concrete5
|
Packagist |
≥ 9.0.0RC1
< 9.2.8
|
9.2.8
|
|
concrete5/concrete5
|
Packagist |
< 8.5.16
|
8.5.16
|
References
Frequently Asked Questions
What is CVE-2024-3178?
Which Concrete5/concrete5 versions are affected?
What version fixes CVE-2024-3178?
Is concrete5/concrete5 affected?
What is the CVSS score of CVE-2024-3178?
What CWE is associated with CVE-2024-3178?
How can I check Packagist dependencies for CVE-2024-3178?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xwrh-qxmc-x8c8",
"modified" : "2024-04-03T21:53:19Z",
"published" : "2024-04-03T21:31:41Z",
"aliases" : [ "CVE-2024-3178" ],
"summary" : "Concrete CMS Cross-site Scripting (XSS) in the Advanced File Search Filter",
"details" : "Concrete CMS versions 9 below 9.2.8 and versions below 8.5.16 are vulnerable to Cross-site Scripting (XSS) in the Advanced File Search Filter. Prior to the fix, a rogue administrator could add malicious code in the file manager because of insufficient validation of administrator provided data. All administrators have access to the File Manager and hence could create a search filter with the malicious code attached. The Concrete CMS security team gave this vulnerability a CVSS v3.1 score of 3.1 with a vector of AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator . \n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/concrete5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0RC1"
}, {
"fixed" : "9.2.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/concrete5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.5.16"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-3178"
}, {
"type" : "WEB",
"url" : "https://github.com/concretecms/concretecms/pull/11988"
}, {
"type" : "WEB",
"url" : "https://github.com/concretecms/concretecms/pull/11989"
}, {
"type" : "WEB",
"url" : "https://github.com/concretecms/concretecms/commit/822e689cefe1eb876e9de31dad9ce660f3b5c295"
}, {
"type" : "WEB",
"url" : "https://github.com/concretecms/concretecms/commit/f2ea49b3cdbac3cbfdf5d3c862de7b7097bbe904"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/9-x/developers/introduction/version-history/928-release-notes?_gl=1*1bcxp5s*_ga*MTc1NDc0Njk2Mi4xNzA2ODI4MDU1*_ga_HFB3HPNNLS*MTcxMjE2NjYyNi4xMy4xLjE3MTIxNjY2ODEuMC4wLjA."
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/developers/introduction/version-history/8516-release-notes?_gl=1*1oa3zn1*_ga*MTc1NDc0Njk2Mi4xNzA2ODI4MDU1*_ga_HFB3HPNNLS*MTcxMjE2NjYyNi4xMy4xLjE3MTIxNjY3MDcuMC4wLjA."
}, {
"type" : "PACKAGE",
"url" : "https://github.com/concretecms/concretecms"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-03T21:52:33Z",
"nvd_published_at" : "2024-04-03T19:15:44Z"
}
}