CVE-2014-4672: Yiisoft/yii Yii PHP Framework Arbitrary PHP Vulnerability
HIGHCVE-2014-4672 is a HIGH yii php framework arbitrary php vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Yiisoft/yii libraries in the Packagist ecosystem. The issue involves yii php framework arbitrary php scripts execution. Remediation is available by upgrading affected packages to version 1.1.15.
CVE-2014-4672 at a Glance
How to Fix CVE-2014-4672
To remediate this vulnerability, upgrade all affected Yiisoft/yii 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 yiisoft/yii to 1.1.15
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for yiisoft/yii
How to Check if You Are Affected
To determine whether your application is affected by CVE-2014-4672, inspect your project dependencies for Yiisoft/yii:
inspect dependencies for yiisoft/yii
Analyze the terminal output to locate any version of Yiisoft/yii in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.15), 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Yiisoft/yii, 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-2014-4672 Affected Yiisoft/yii Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
yiisoft/yii
|
Packagist |
≥ 1.1.14
< 1.1.15
|
1.1.15
|
References
Frequently Asked Questions
What is CVE-2014-4672?
Which Yiisoft/yii versions are affected?
What version fixes CVE-2014-4672?
Is yiisoft/yii affected?
What CWE is associated with CVE-2014-4672?
How can I check Packagist dependencies for CVE-2014-4672?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-74qv-rv53-5wcx",
"modified" : "2024-04-24T18:31:47Z",
"published" : "2022-05-17T04:38:57Z",
"aliases" : [ "CVE-2014-4672" ],
"summary" : "Yii PHP Framework arbitrary PHP scripts execution",
"details" : "The CDetailView widget in Yii PHP Framework 1.1.14 allows remote attackers to execute arbitrary PHP scripts via vectors related to the value property.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "yiisoft/yii"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.14"
}, {
"fixed" : "1.1.15"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-4672"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii/CVE-2014-4672.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/yiisoft/yii"
}, {
"type" : "WEB",
"url" : "https://www.yiiframework.com/news/78/yii-1-1-15-is-released-security-fix"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-24T18:31:47Z",
"nvd_published_at" : "2014-07-03T17:55:00Z"
}
}