Wróć do katalogu CVE

PROVISIONAL · Dane ze źródła uzupełniającego; brak potwierdzonego rekordu CVE List lub NVD.

CVE-2026-104883

CVE-2026-104883

Not specified contao/core-bundle

W skrócie

Commit `2b83a60f7763` (5.7.3) hardened the template editor: it added `TemplateEditorModuleVoter` + `CheckTemplateEditorSaveListener` so a non-admin cannot self-grant the `tpl_editor` backend module (editable PHP-capable templates permit server-side code execution). That voter supports only the `modules` field and the literal value `tpl_editor`. The equally RCE-capable `theme_import` capability lives in a different field - the `themes` checkbox field (tl_user_group.php:98-105 options include `theme_import`; identical on tl_user.php:248-253) - which has no save_callback and no voter. `TemplateEditorModuleVoter` is the only DC voter registered for tl_user_group, and it does not cover the `themes` field. So a delegated user manager can add `theme_import` to their own (or a managed) account. Live repro (Contao 5.7.9): 1. As admin, create a non-admin backend group with the `user` (or `group`) module (a delegated user manager), and a user in it. Confirm the user cannot access `tpl_editor` (blocked by the 5.7.3 voter). 2. As that non-admin, edit a group/account: add `themes` to the modules field and `theme_import` to the themes field (both accepted - only `tpl_editor` is blocked). Re-authenticate. ## Impact A delegated user/group manager (a role explicitly not trusted with template/code access) escalates to arbitrary PHP execution on the server, fully compromising the…

Pełny opis źródłowy

Commit `2b83a60f7763` (5.7.3) hardened the template editor: it added `TemplateEditorModuleVoter` + `CheckTemplateEditorSaveListener` so a non-admin cannot self-grant the `tpl_editor` backend module (editable PHP-capable templates permit server-side code execution). That voter supports only the `modules` field and the literal value `tpl_editor`. The equally RCE-capable `theme_import` capability lives in a different field - the `themes` checkbox field (tl_user_group.php:98-105 options include `theme_import`; identical on tl_user.php:248-253) - which has no save_callback and no voter. `TemplateEditorModuleVoter` is the only DC voter registered for tl_user_group, and it does not cover the `themes` field. So a delegated user manager can add `theme_import` to their own (or a managed) account. Live repro (Contao 5.7.9): 1. As admin, create a non-admin backend group with the `user` (or `group`) module (a delegated user manager), and a user in it. Confirm the user cannot access `tpl_editor` (blocked by the 5.7.3 voter). 2. As that non-admin, edit a group/account: add `themes` to the modules field and `theme_import` to the themes field (both accepted - only `tpl_editor` is blocked). Re-authenticate. ## Impact A delegated user/group manager (a role explicitly not trusted with template/code access) escalates to arbitrary PHP execution on the server, fully compromising the installation. This bypasses the exact protection the 5.7.3 `tpl_editor` fix introduced. ## Credits This security vulnerability was found by @HDWSec

Opis źródłowy · OSV

Wpływ na system

Złożoność atakuNiska
PoufnośćWysoki
IntegralnośćWysoki
DostępnośćWysoki

Podsumowanie CVSS v3.1

7.2Wysoka
Opublikowano:
Zaktualizowano:
EPSS:
Nie podano
Wykorzystanie w atakach:
Niepotwierdzone
Kampanie ransomware:
Niepotwierdzone
Wektor ataku:
Sieć

Powiązane CWE

Nie podano

Podatne produkty

Producent, produkt i zakres podatnych wersji.

Producent, produkt i podatne wersje
Producent:Not specifiedcontao/core-bundle
Środowiska (1)
  • Packagist
Podatne wersje:
5.0.0Pokaż pełny zakres wersji produktu contao/core-bundle
5.0.15.0.105.0.25.0.35.0.45.0.55.0.65.0.75.0.85.0.95.1.05.1.0-RC15.1.0-RC25.1.0-RC35.1.15.1.105.1.115.1.25.1.35.1.45.1.55.1.65.1.75.1.85.1.95.2.05.2.0-RC15.2.0-RC25.2.0-RC35.2.0-RC45.2.0-RC55.2.0-RC65.2.15.2.105.2.25.2.35.2.45.2.55.2.65.2.75.2.85.2.95.3.05.3.0-RC15.3.0-RC25.3.0-RC35.3.0-RC45.3.15.3.105.3.115.3.125.3.135.3.145.3.155.3.165.3.175.3.185.3.195.3.25.3.205.3.215.3.225.3.235.3.245.3.255.3.265.3.275.3.285.3.295.3.35.3.305.3.315.3.325.3.335.3.345.3.355.3.365.3.375.3.385.3.395.3.45.3.405.3.415.3.425.3.435.3.445.3.455.3.465.3.475.3.485.3.495.3.55.3.65.3.75.3.85.3.9≥ 5.0.0, < 5.3.50

1–1 z 1 · Strona 1 z 1

Oceny i parametry CVSS1
GHSA-r9qp-pqx5-8369 · OSV (source-vector)Główna7.2 / 10WysokaCVSS 3.1Szczegóły
Złożoność ataku
Niska
Poufność
Wysoki
Integralność
Wysoki
Dostępność
Wysoki
Wektor ataku
Sieć
Uprawnienia
Wysokie
Udział użytkownika
Niewymagany
Zakres wpływu
Bez zmian

Wektor źródłowy

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CVSS opisuje dotkliwość, EPSS — prawdopodobieństwo wykorzystania. Brak potwierdzenia ataków nie oznacza braku zagrożenia.

Źródła i komunikaty12

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Źródła danych i licencje