Description
yii2-starter-kit through 4.2.0 fails to validate article publication status in the attachment-download endpoint, allowing unauthenticated attackers to download files from draft articles. Attackers can enumerate sequential attachment identifiers to retrieve files from unpublished articles without authentication or authorization checks.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| yii2-starter-kit | yii2-starter-kit | ≤ 4.2.0 | — |
References
- GitHub Issue #797 issue-tracking
- https://github.com/yii-starter-kit/yii2-starter-kit product
- https://github.com/yii-starter-kit/yii2-starter-kit/blob/cc2c451e8c959c7300b04efea597706a38609f58/frontend/controllers/ArticleController.php#L69 technical-description
- VulnCheck Advisory: yii2-starter-kit through 4.2.0 Unauthorized File Download via attachment-download third-party-advisory