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

exploitDog

github логотип

GHSA-f3qm-vfc3-jg6v

Опубликовано: 20 фев. 2024
Источник: github
Github: Прошло ревью
CVSS3: 4.5

Описание

Possible CSRF attack at questionnaire templates preview

Impact

The CSRF authenticity token check is currently disabled for the questionnaire templates preview as per: https://github.com/decidim/decidim/blob/3187bdfd40ea1c57c2c12512b09a7fec0b2bed08/decidim-templates/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb#L11

This was introduced by this commit in the PR that introduced this feature (#6247): https://github.com/decidim/decidim/pull/6247/commits/5542227be66e3b6d7530f5b536069bce09376660

The issue does not imply a serious security thread as you need to have access also to the session cookie in order to see this resource. This URL does not allow modifying the resource but it may allow attackers to gain access to information which was not meant to be public.

Patches

#11743

Workarounds

Disable the templates functionality or remove all available templates.

References

#11743

Пакеты

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

decidim-templates

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

>= 0.23.0, < 0.27.5

0.27.5

EPSS

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

4.5 Medium

CVSS3

Дефекты

CWE-352
CWE-918

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

CVSS3: 4.5
nvd
почти 2 года назад

Decidim is a participatory democracy framework. Starting in version 0.23.0 and prior to versions 0.27.5 and 0.28.0, the CSRF authenticity token check is disabled for the questionnaire templates preview. The issue does not imply a serious security thread as you need to have access also to the session cookie in order to see this resource. This URL does not allow modifying the resource but it may allow attackers to gain access to information which was not meant to be public. The issue is fixed in version 0.27.5 and 0.28.0. As a workaround, disable the templates functionality or remove all available templates.

EPSS

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

4.5 Medium

CVSS3

Дефекты

CWE-352
CWE-918