GHSA-7gm6-w7mx-58cr
phpBB has Password Reset Link Poisoning via Host Header injection
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | phpbb/phpbb | >= 3.0.0, < 3.3.16 | 3.3.16 |
| Packagist | phpbb/phpbb | >= 4.0.0-a1, < 4.0.0-a2 | 4.0.0-a2 |
Details
As written in the advisory (Markdown source, shown as plain text).
phpBB before 3.3.16 is vulnerable to Host Header Injection that can lead to password rest link poisoning. When force_server_vars is disabled, the servers hostname may be extracted from the HTTP Host header which is used to generate the password reset link URL. An attacker who can manipulate the Host header (e.g. through misconfigured host setup or missing header validation by the webserver) can cause password reset emails to contain a link pointing to an attacker-controlled domain, potentially leading to account takeover.
References
External links from the advisory. They lead to third-party sites.