نسخههای متأثر
بازهها نیاز به بررسی دارند.
- نسخههای متأثر
- >= 4.0.0, < 5.3.50
- نسخهٔ اصلاحشده
- 5.3.50
- نسخههای متأثر
- >=4.0.0,<5.3.50|>=5.4.0,<5.7.12
- نسخهٔ اصلاحشده
- اعلام نشده
- نسخههای متأثر
- >= 5.4.0-RC1, < 5.7.12
- نسخهٔ اصلاحشده
- 5.7.12
بهرهبرداری
شرح آسیبپذیری
RequestTokenListener is the only generic REQUEST_TOKEN validator in Contao and it only runs on POST. On the GET side the guard is local and declarative, and it only fires when an act parameter is present. Every back end action dispatched through a different parameter therefore has no CSRF protection at all. This is a family rather than a single bug.
Impact
An attacker who gets a logged in back end user to load a URL performs back end actions as that user, with no token and no confirmation. Because the exposure follows from the dispatch mechanism rather than from one callback, every present and future key= action inherits it.
Honest bound. The victim must be authenticated in the back end and must load the URL, and the reachable actions are limited to the modules that user can access. We have not found a key= action that grants privileges; the ones we verified are destructive or state changing rather than escalating.
پیوندها
- https://contao.org/en/security-advisories/cross-site-request-forgery-in-custom-backend-actions
- https://github.com/advisories/GHSA-9ff2-p842-45wq
- https://github.com/contao/contao
- https://github.com/contao/contao/commit/34dd27ee6739f10568d3d95d8784862255c925b4
- https://github.com/contao/contao/releases/tag/5.7.12
- https://github.com/contao/contao/security/advisories/GHSA-9ff2-p842-45wq
گزارشدهندگان
- HDWSec

