CVE-2018-19274: Phpbb/phpbb Remote Code Execution Vulnerability
HIGHCVE-2018-19274 is a HIGH (CVSS 7.2) remote code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Phpbb/phpbb libraries in the Packagist ecosystem. The issue involves phpbb remote code execution. Remediation is available by upgrading affected packages to version 3.2.4.
CVE-2018-19274 at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2018-19274
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.2.4
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-2018-19274, 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.2.4), 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. 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-2018-19274 Affected Phpbb/phpbb Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpbb/phpbb
|
Packagist |
< 3.2.4
|
3.2.4
|
References
Frequently Asked Questions
What is CVE-2018-19274?
Which Phpbb/phpbb versions are affected?
What version fixes CVE-2018-19274?
Is phpbb/phpbb affected?
What is the CVSS score of CVE-2018-19274?
What CWE is associated with CVE-2018-19274?
How can I check Packagist dependencies for CVE-2018-19274?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h3mr-q96r-37v4",
"modified" : "2024-04-24T17:50:29Z",
"published" : "2022-05-13T01:50:50Z",
"aliases" : [ "CVE-2018-19274" ],
"summary" : "phpBB Remote Code Execution",
"details" : "Passing an absolute path to a file_exists check in phpBB before 3.2.4 allows Remote Code Execution through Object Injection by employing Phar deserialization when an attacker has access to the Admin Control Panel with founder permissions.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpbb/phpbb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-19274"
}, {
"type" : "WEB",
"url" : "https://blog.ripstech.com/2018/phpbb3-phar-deserialization-to-remote-code-execution"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/phpbb/phpbb-app"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2018/11/msg00029.html"
}, {
"type" : "WEB",
"url" : "https://www.phpbb.com/community/viewtopic.php?f=14&t=2492206"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-24T17:50:29Z",
"nvd_published_at" : "2018-11-17T13:29:00Z"
}
}