CVE-2015-5467 Yii2 allows attackers to execute any local .php file via a relative path in the view parameter
Attackers can execute arbitrary local PHP files via path traversal in the view parameter of the Yii framework.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-5467?
CVE-2015-5467 is a critical path traversal vulnerability in n/a, published on 21 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
web\ViewAction in Yii (aka Yii2) 2.x before 2.0.5 allows attackers to execute any local .php file via a relative path in the view parameeter.
Weakness: CWE-22
Which versions are affected by CVE-2015-5467?
2 open source packages ship an affected version, including yiisoft/yii2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
yiisoft/yii2 Packagist | From 2.0.0 | 2.0.5 |
yiisoft/yii2 Packagist | From 2.0.0 | 2.0.5 |
Products include Yiiframework Yii.
How do I fix CVE-2015-5467?
Upgrade yiisoft/yii2 to 2.0.5 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2015-5467 being exploited?
There is no known exploitation of CVE-2015-5467 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-7cfq-72w2-24q4.