CVE-2023-5917: phpBB's Smiley Pack acp_icons.php main pack vulnerable to cross site scripting
2.4
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.25922%
CWE
Published
11/2/2023
Updated
10/30/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
phpbb/phpbb | composer | < 3.3.11 | 3.3.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key issues in acp_icons.php's main function: 1) The 'pack' parameter was used in file() without sanitization (via basename()), allowing directory traversal. 2) The '_url' field was populated with raw 'img' values instead of HTML-escaped content. The patch introduced utf8_basename() for path sanitization and utf8_substr(rawurlencode(...)) for output encoding, confirming these were the vulnerable points. Both issues occur within the main function's logic for handling smiley pack imports.