Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-3pvf-vxrv-hh9c

Опубликовано: 24 мар. 2026
Источник: github
Github: Прошло ревью
CVSS4: 4.9

Описание

Craft CMS: Low-privilege users could read private asset contents when editing an asset (IDOR)

Summary

A low-privileged authenticated user can read private asset content by calling assets/edit-image with an arbitrary assetId that they are not authorized to view.

The endpoint returns image bytes (or a preview redirect) without enforcing a per-asset view authorization check, leading to potential unauthorized disclosure of private files.

Details

Root cause:

  • A user-controlled object reference (assetId) is used to load and return sensitive content.
  • The action does not verify whether the current user is authorized to view that asset.
  • This creates an authenticated IDOR / authorization bypass.

Impact

  • Craft installations where private/non-public assets exist and low-privileged users can authenticate.

Resources

https://github.com/craftcms/cms/commit/7290d91639e

Пакеты

Наименование

craftcms/cms

composer
Затронутые версииВерсия исправления

>= 4.0.0-RC1, <= 4.17.7

4.17.8

Наименование

craftcms/cms

composer
Затронутые версииВерсия исправления

>= 5.0.0-RC1, <= 5.9.13

5.9.14

EPSS

Процентиль: 28%
0.00353
Низкий

4.9 Medium

CVSS4

Дефекты

CWE-639

Связанные уязвимости

CVSS3: 6.5
nvd
5 месяцев назад

Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.8 and from version 5.0.0-RC1 to before version 5.9.14, a low-privileged authenticated user can read private asset content by calling assets/edit-image with an arbitrary assetId that they are not authorized to view. The endpoint returns image bytes (or a preview redirect) without enforcing a per-asset view authorization check, leading to potential unauthorized disclosure of private files. This issue has been patched in versions 4.17.8 and 5.9.14.

EPSS

Процентиль: 28%
0.00353
Низкий

4.9 Medium

CVSS4

Дефекты

CWE-639