Description (CNA)
Craft CMS contains a missing authorization vulnerability in the assets/preview-thumb endpoint. A Control Panel user without permission to view a target private asset can call the endpoint with an attacker-controlled assetId and receive preview HTML containing a signed fallback transform preview link for that private asset, because no asset-view permission check is performed before preview generation. This affects versions >= 4.0.0-RC1, <= 4.17.7 and >= 5.0.0-RC1, <= 5.9.13, and is fixed in 4.17.8 and 5.9.14.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| craftcms / cms | affected 4.0.0-RC1 before 4.17.8; unaffected 4.17.8; affected 5.0.0-RC1 before 5.9.14; unaffected 5.9.14 |
CWE
CWE-862
References
- https://github.com/craftcms/cms/security/advisories/GHSA-x76w-8c62-48mg
- https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27
- https://www.vulncheck.com/advisories/craft-cms-missing-authorization-in-assets-preview-thumb-endpoint
ADP enrichment
No English description supplied.
No references supplied.