CVE-2015-5467 Yii2 allows attackers to execute any local .php file via a relative path in the view parameter

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
yiisoft/yii2 PackagistFrom 2.0.02.0.5
yiisoft/yii2 PackagistFrom 2.0.02.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.

Sources

Also known as GHSA-7cfq-72w2-24q4.

Is CVE-2015-5467 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free