CVE-2023-5917: Phpbb/phpbb PhpBB's Smiley Pack Acp_icons.php Main Vulnerability
MODERATECVE-2023-5917 is a MODERATE (CVSS 2.4) phpbb's smiley pack acp_icons.php main vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Phpbb/phpbb libraries in the Packagist ecosystem. The issue involves phpbb's smiley pack acp_icons.php main pack vulnerable to cross site scripting. Remediation is available by upgrading affected packages to version 3.3.11.
CVE-2023-5917 at a Glance
Security Impact
CVSS: 2.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N).
How to Fix CVE-2023-5917
To remediate this vulnerability, upgrade all affected Phpbb/phpbb dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade phpbb/phpbb to 3.3.11
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for phpbb/phpbb
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-5917, inspect your project dependencies for Phpbb/phpbb:
inspect dependencies for phpbb/phpbb
Analyze the terminal output to locate any version of Phpbb/phpbb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.11), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Phpbb/phpbb, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-5917 Affected Phpbb/phpbb Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpbb/phpbb
|
Packagist |
< 3.3.11
|
3.3.11
|
References
Frequently Asked Questions
What is CVE-2023-5917?
Which Phpbb/phpbb versions are affected?
What version fixes CVE-2023-5917?
Is phpbb/phpbb affected?
What is the CVSS score of CVE-2023-5917?
What CWE is associated with CVE-2023-5917?
How can I check Packagist dependencies for CVE-2023-5917?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gmx8-8rff-qv6q",
"modified" : "2024-10-30T16:42:38Z",
"published" : "2023-11-02T12:30:16Z",
"aliases" : [ "CVE-2023-5917" ],
"summary" : "phpBB's Smiley Pack acp_icons.php main pack vulnerable to cross site scripting",
"details" : "A vulnerability, which was classified as problematic, has been found in phpBB up to 3.3.10. This issue affects the function main of the file `phpBB/includes/acp/acp_icons.php` of the component Smiley Pack Handler. The manipulation of the argument pack leads to cross site scripting. The attack may be initiated remotely. Upgrading to version 3.3.11 is able to address this issue. The patch is named ccf6e6c255d38692d72fcb613b113e6eaa240aac. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-244307.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpbb/phpbb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.3.11"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-5917"
}, {
"type" : "WEB",
"url" : "https://github.com/phpbb/phpbb-app/commit/a3a84334f1c17ee57cc9af3d84996af8772736d3"
}, {
"type" : "WEB",
"url" : "https://github.com/phpbb/phpbb/commit/ccf6e6c255d38692d72fcb613b113e6eaa240aac"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/phpbb/phpbb-app"
}, {
"type" : "WEB",
"url" : "https://github.com/phpbb/phpbb/releases/tag/release-3.3.11"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.244307"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.244307"
}, {
"type" : "WEB",
"url" : "https://www.phpbb.com"
}, {
"type" : "WEB",
"url" : "https://www.phpbb.com/community/viewtopic.php?t=2646991"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-30T16:42:38Z",
"nvd_published_at" : "2023-11-02T11:15:14Z"
}
}