CVE-2023-5917
PHP vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability was discovered in phpBB versions up to 3.3.10. The vulnerability affects the main function in phpBB/includes/acp/acp_icons.php, specifically in the Smiley Pack Handler component. The issue was disclosed in October 2023 and was fixed in phpBB version 3.3.11 (PHPBB Release, NVD).

Technical details

The vulnerability stems from improper handling of the 'pak' argument in the Smiley Pack Handler component. The CVSS v3.1 base score is 6.1 (Medium), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The issue allows for cross-site scripting through manipulation of smiley pack files in the ACP. The fix involved adding safeguards against JavaScript code injection via smiley packs and escaping smilies URLs (NVD, PHPBB Patch).

Impact

The vulnerability could allow remote attackers to inject arbitrary web script or HTML through the smiley pack handler functionality. This could potentially lead to the execution of unauthorized JavaScript code in the context of other users' browsers (NVD).

Mitigation and workarounds

The vulnerability was fixed in phpBB version 3.3.11. Users are advised to upgrade to this version or later. The patch (ccf6e6c255d38692d72fcb613b113e6eaa240aac) implements proper escaping of smilies URLs and prevents path manipulation in .pak filenames (PHPBB Release, PHPBB Patch).

Community reactions

The phpBB team acknowledged the security researcher shin24 who reported this issue through HackerOne. The vulnerability was addressed as part of the security hardening measures in the 3.3.11 release (PHPBB Release).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management