CVE-2024-29338: Anchorcms/anchor cms Cross-Site Request Forgery Vulnerability
MODERATECVE-2024-29338 is a MODERATE (CVSS 7.4) cross-site request forgery vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Anchorcms/anchor cms libraries in the Packagist ecosystem. The issue involves cross-site request forgery in anchor cms. Remediation is available in the latest vendor maintenance releases.
CVE-2024-29338 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L).
How to Fix CVE-2024-29338
To remediate this vulnerability, upgrade all affected Anchorcms/anchor cms 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 anchorcms/anchor-cms to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for anchorcms/anchor-cms
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-29338, inspect your project dependencies for Anchorcms/anchor cms:
inspect dependencies for anchorcms/anchor-cms
Analyze the terminal output to locate any version of Anchorcms/anchor cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Anchorcms/anchor cms, 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-29338 Affected Anchorcms/anchor cms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
anchorcms/anchor-cms
|
Packagist |
≤ 0.12.7
|
|
References
Frequently Asked Questions
What is CVE-2024-29338?
Which Anchorcms/anchor cms versions are affected?
What version fixes CVE-2024-29338?
Is anchorcms/anchor-cms affected?
What is the CVSS score of CVE-2024-29338?
What CWE is associated with CVE-2024-29338?
How can I check Packagist dependencies for CVE-2024-29338?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2whx-ccr7-fxqm",
"modified" : "2024-11-18T16:26:37Z",
"published" : "2024-03-22T18:30:31Z",
"aliases" : [ "CVE-2024-29338" ],
"summary" : "Cross-Site Request Forgery in Anchor CMS",
"details" : "Anchor CMS v0.12.7 was discovered to contain a Cross-Site Request Forgery (CSRF) via `/anchor/admin/categories/delete/2`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "anchorcms/anchor-cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.12.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-29338"
}, {
"type" : "WEB",
"url" : "https://github.com/PWwwww123/cms/blob/main/1.md"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/anchorcms/anchor-cms"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-22T20:56:56Z",
"nvd_published_at" : "2024-03-22T17:15:08Z"
}
}