Description
yii2-starter-kit through 4.2.0 exposes the Yii debug and Gii modules to all IP addresses by setting allowedIPs to ['*'] in its default development configuration. Unauthenticated remote attackers can access the debug endpoint to read sensitive data including session cookies and database queries, or access the Gii endpoint to generate and write PHP files into the application directory.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
yii2-starter-kit yii2-starter-kit
Default version status: unaffected
0 to ≤ 4.2.0affected
pkg:composer/yii2-starter-kit/yii2-starter-kitReferences
- https://github.com/yii-starter-kit/yii2-starter-kit/issues/797 ↗
- https://github.com/yii-starter-kit/yii2-starter-kit ↗
- https://github.com/yii-starter-kit/yii2-starter-kit/blob/cc2c451e8c959c7300b04efea597706a38609f58/common/config/web.php#L21 ↗
- https://www.vulncheck.com/advisories/yii2-starter-kit-through-4.2.0-debug-and-gii-module-exposure ↗