VDB
Sign up
HIGH8.1

GHSA-7gm6-w7mx-58cr

phpBB has Password Reset Link Poisoning via Host Header injection

Quick fix

GHSA-7gm6-w7mx-58cr — phpbb/phpbb: upgrade to the fixed version with the command below.

composer require phpbb/phpbb:^3.3.16

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/phpbb/phpbb
Introduced in: 3.0.0Fixed in: 3.3.16
Fixcomposer require phpbb/phpbb:^3.3.16
Packagist/phpbb/phpbb
Introduced in: 4.0.0-a1Fixed in: 4.0.0-a2
Fixcomposer require phpbb/phpbb:^4.0.0-a2

References