CVE-2018-19274: phpBB Remote Code Execution
7.2
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.95366%
CWE
Published
5/13/2022
Updated
4/24/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
phpbb/phpbb | composer | < 3.2.4 | 3.2.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from using file_exists with untrusted absolute paths in configuration handling. The security advisory specifically mentions removing ImageMagick path configuration as the fix, indicating the path was being passed to file_exists without proper validation. This allowed Phar deserialization when a malicious path was provided, as PHP's file_exists automatically parses Phar metadata. The function's presence in configuration validation logic (likely in ACP board settings handlers) made it the attack vector.