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

exploitDog

github логотип

GHSA-8v7h-cpc2-r8jp

Опубликовано: 13 июл. 2022
Источник: github
Github: Прошло ревью
CVSS3: 8.1

Описание

October CMS upload process vulnerable to RCE via Race Condition

Impact

This advisory affects plugins that expose the October\Rain\Database\Attach\File::fromData as a public interface. This vulnerability does not affect vanilla installations of October CMS since this method is not exposed or used by the system internally or externally.

When the developer allows the user to specify their own filename in the fromData method, an unauthenticated user can perform remote code execution (RCE) by exploiting a race condition in the temporary storage directory.

Patches

The issue has been patched in Build 476 (v1.0.476) and v1.1.12 and v2.2.15.

Workarounds

Apply https://github.com/octobercms/library/commit/fe569f3babf3f593be2b1e0a4ae0283506127a83 to your installation manually if unable to upgrade to Build 476 (v1.0.476) or v1.1.12 or v2.2.15.

References

Credits to:

  • DucNT, HungTD and GiangVQ from RedTeam@VNG Security Response Center.

For more information

If you have any questions or comments about this advisory:

Пакеты

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

october/system

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

< 1.0.476

1.0.476

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

october/system

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

>= 1.1.0, < 1.1.12

1.1.12

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

october/system

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

>= 2.0.0, < 2.2.15

2.2.15

EPSS

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

8.1 High

CVSS3

Дефекты

CWE-362

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

CVSS3: 8.1
nvd
больше 3 лет назад

October/System is the system module for October CMS, a self-hosted CMS platform based on the Laravel PHP Framework. Prior to versions 1.0.476, 1.1.12, and 2.2.15, when the developer allows the user to specify their own filename in the `fromData` method, an unauthenticated user can perform remote code execution (RCE) by exploiting a race condition in the temporary storage directory. This vulnerability affects plugins that expose the `October\Rain\Database\Attach\File::fromData` as a public interface and does not affect vanilla installations of October CMS since this method is not exposed or used by the system internally or externally. The issue has been patched in Build 476 (v1.0.476), v1.1.12, and v2.2.15. Those who are unable to upgrade may apply with patch to their installation manually as a workaround.

CVSS3: 8.1
fstec
почти 4 года назад

Уязвимость реализации метода fromData CMS-системы October CMS, позволяющая нарушителю выполнить произвольный код

EPSS

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

8.1 High

CVSS3

Дефекты

CWE-362