CVE-2006-4067: Cakephp/cakephp Cross-Site Scripting Vulnerability
MODERATECVE-2006-4067 is a MODERATE (CVSS 6.5) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Cakephp/cakephp libraries in the Packagist ecosystem. The issue involves cross-site scripting (xss) vulnerability in cakephp. Remediation is available by upgrading affected packages to version 1.1.7.3363.
CVE-2006-4067 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H).
How to Fix CVE-2006-4067
To remediate this vulnerability, upgrade all affected Cakephp/cakephp 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 cakephp/cakephp to 1.1.7.3363
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for cakephp/cakephp
How to Check if You Are Affected
To determine whether your application is affected by CVE-2006-4067, inspect your project dependencies for Cakephp/cakephp:
inspect dependencies for cakephp/cakephp
Analyze the terminal output to locate any version of Cakephp/cakephp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.7.3363), 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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Cakephp/cakephp, 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-2006-4067 Affected Cakephp/cakephp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cakephp/cakephp
|
Packagist |
≥ 1.0.1.2708
< 1.1.7.3363
|
1.1.7.3363
|
References
Frequently Asked Questions
What is CVE-2006-4067?
Which Cakephp/cakephp versions are affected?
What version fixes CVE-2006-4067?
Is cakephp/cakephp affected?
What is the CVSS score of CVE-2006-4067?
What CWE is associated with CVE-2006-4067?
How can I check Packagist dependencies for CVE-2006-4067?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vc29-mvwv-wpcq",
"modified" : "2023-01-09T20:14:12Z",
"published" : "2022-05-01T07:15:05Z",
"aliases" : [ "CVE-2006-4067" ],
"summary" : "Cross-site scripting (XSS) vulnerability in CakePHP",
"details" : "Cross-site scripting (XSS) vulnerability in cake/libs/error.php in CakePHP before 1.1.7.3363 allows remote attackers to inject arbitrary web script or HTML via the URL, which is reflected back in a 404 (\\\"Not Found\\\") error page. NOTE: some of these details are obtained from third party information.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "cakephp/cakephp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.1.2708"
}, {
"fixed" : "1.1.7.3363"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.1.6.3264"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-4067"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/28256"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cakephp/cakephp"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-09T20:14:12Z",
"nvd_published_at" : "2006-08-10T00:04:00Z"
}
}