Отправить #1055273: phpBB Limited phpBB 3.3.19 Cross-Site ScriptingИнформация

НазваниеphpBB Limited phpBB 3.3.19 Cross-Site Scripting
ОписаниеphpBB 3.3.19 contains stored cross-site scripting in rank image handling. The ACP rank editor accepts a rank_image value with an image suffix, decodes HTML entities, and stores quote characters that are later inserted into image src attributes without attribute encoding. A user with the a_ranks administrative permission can inject script that executes in the ACP ranks page, member profiles, and topic pages. Affected flow: ACP rank_image -> html_entity_decode(ENT_COMPAT) -> database -> unescaped IMG src in three views. Attack prerequisites: administrator with a_ranks permission; triggering viewers include ACP users and frontend visitors. Reproduction: (1) Create a special rank whose rank_image contains a quote-breaking event attribute and ends with .svg. (2) Confirm the database stores literal quote characters after html_entity_decode. (3) View the rank in ACP, a member profile, and a topic page. Fresh verification marker: gt481023pbc. The identical unescaped IMG attribute appeared in ACP, memberlist, and viewtopic responses. Database bytes contained the literal quote-breaking value. Sanitized trigger: <img src="./images/ranks/r.svg" onerror = self[`al`+`ert`](`gt481023pbc`) x=".svg" ...>. Confirmed source/sink: includes/acp/acp_ranks.php lines 56-73: $rank_image = $request->variable('rank_image', ''); suffix check allows gif/png/jpg/jpeg/svg/webp; 'rank_image' => html_entity_decode($rank_image, ENT_COMPAT). adm/style/acp_ranks.html line 88: <img src="{ranks.RANK_IMAGE}" ...>. includes/functions_display.php line 1534 concatenates '<img src="' . $user_rank_data['img_src'] . '" ... />'. All database and response evidence was reproduced in 3/3 fresh runs, with configuration and records restored afterward. CWE-79. CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N (4.8).
Источник⚠️ https://github.com/phpbb/phpbb/blob/release-3.3.19/phpBB/includes/acp/acp_ranks.php
Пользователь
 sanktsimone (UID 102457)
Представление24.10.2026 06:11 (1 месяц назад)
Модерация23.11.2026 07:42 (1 month later)
Статуспринято
Запись VulDB442256 [phpBB до 3.3.19 Ranks acp_ranks.php phpbb_get_user_rank rank_image межсайтовый скриптинг]
Баллы20

Do you need the next level of professionalism?

Upgrade your account now!