CVE-2020-8226: Phpbb/phpbb PhpBB Server-Side Request Forgery Vulnerability Vulnerability
MODERATECVE-2020-8226 is a MODERATE (CVSS 5.8) phpbb server-side request forgery vulnerability vulnerability (CWE-610: Externally Controlled Reference to a Resource in Another Sphere) affecting Phpbb/phpbb libraries in the Packagist ecosystem. The issue involves phpbb server-side request forgery vulnerability. Remediation is available by upgrading affected packages to version 3.2.10, 3.3.1.
CVE-2020-8226 at a Glance
Security Impact
CVSS: 5.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N).
How to Fix CVE-2020-8226
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.10
Upgrade phpbb/phpbb to 3.3.1
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-2020-8226, 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.10), 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-610: Externally Controlled Reference to a Resource in Another Sphere, where the product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere. 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-2020-8226 Affected Phpbb/phpbb Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phpbb/phpbb
|
Packagist |
≥ 3.2.0
< 3.2.10
|
3.2.10
|
|
phpbb/phpbb
|
Packagist |
≥ 3.3.0
< 3.3.1
|
3.3.1
|
References
Frequently Asked Questions
What is CVE-2020-8226?
Which Phpbb/phpbb versions are affected?
What version fixes CVE-2020-8226?
Is phpbb/phpbb affected?
What is the CVSS score of CVE-2020-8226?
What CWE is associated with CVE-2020-8226?
How can I check Packagist dependencies for CVE-2020-8226?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jhm9-h84h-rw83",
"modified" : "2023-04-21T21:07:53Z",
"published" : "2022-05-24T17:26:05Z",
"aliases" : [ "CVE-2020-8226" ],
"summary" : "phpBB Server-Side Request Forgery Vulnerability",
"details" : "A vulnerability exists in phpBB <v3.2.10 and <v3.3.1 which allowed remote image dimensions check to be used to SSRF.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpbb/phpbb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.2.0"
}, {
"fixed" : "3.2.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "phpbb/phpbb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-8226"
}, {
"type" : "WEB",
"url" : "https://github.com/phpbb/phpbb-app/commit/0cfaaafb386d58576d200d56f1acdbcc2f2376e8"
}, {
"type" : "WEB",
"url" : "https://github.com/phpbb/phpbb-app/commit/efc0a146bf12125eeb71d00470af774326a7bf0a"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpbb/phpbb/CVE-2020-8226.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/phpbb/phpbb-app"
}, {
"type" : "WEB",
"url" : "https://www.phpbb.com/community/viewtopic.php?f=14&t=2562631"
}, {
"type" : "WEB",
"url" : "https://www.phpbb.com/community/viewtopic.php?f=14&t=2562636"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-610", "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-21T21:07:53Z",
"nvd_published_at" : "2020-08-17T16:15:00Z"
}
}