Miggo Logo

CVE-2015-3880: phpBB Open Redirect

6.1

CVSS Score
3.0

Basic Information

EPSS Score
0.71394%
Published
5/17/2022
Updated
8/3/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
phpbb/phpbbcomposer< 3.0.143.0.14
phpbb/phpbbcomposer>= 3.1.0, < 3.1.43.1.4

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The commit diff shows critical modifications to the redirect() function in phpBB/includes/functions.php. The original code allowed redirects to proceed if the host didn't match by naively resetting the URL to generate_board_url(), which could be bypassed via URL obfuscation techniques (e.g., embedded credentials, subdomain tricks). The added checks (strpos() validation and error triggers) directly address the open redirect flaw. The test cases in redirect_test.php confirm scenarios where external/abnormal URLs were previously allowed but now blocked. This aligns with the CVE's description of insufficient validation for Chrome-specific attack vectors.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

Op*n r**ir**t vuln*r**ility in p*p** ***or* *.*.** *n* *.*.x ***or* *.*.* *llows r*mot* *tt**k*rs to r**ir**t us*rs o* *oo*l* **rom* to *r*itr*ry w** sit*s *n* *on*u*t p*is*in* *tt**ks vi* unsp**i*i** v**tors.

Reasoning

T** *ommit *i** s*ows *riti**l mo*i*i**tions to t** r**ir**t() *un*tion in p*p**/in*lu**s/*un*tions.p*p. T** ori*in*l *o** *llow** r**ir**ts to pro**** i* t** *ost *i*n't m*t** *y n*iv*ly r*s*ttin* t** URL to **n*r*t*_*o*r*_url(), w*i** *oul* ** *yp*