miniBB 3.7.2 login open redirect lets forged POST data send users to external sites; fixed in 3.8
According to Full Disclosure, researcher Khashayar Fereidani reported an open redirect flaw in the login code of miniBB 3.7.2 that could be used for phishing on a forum's hostname. The issue is fixed in miniBB 3.8, and the author advises upgrading.
PHPWebVulnerabilitiesKey points
- miniBB 3.7.2 has an open redirect in bb_func_login.php, via the unfiltered POST parameter queryStr2.
- Exploitation requires valid credentials; the author rates it CVSS 3.1 4.7 (Medium).
- The author says it could enable phishing on the forum's hostname after login.
- miniBB 3.8, released 2026-11-20, includes the fix.
According to Full Disclosure, researcher Khashayar Fereidani published a disclosure on 2026-11-20 describing an open redirect flaw in miniBB 3.7.2, a forum application.
What the flaw is
The weakness is in the login handling file bb_func_login.php. The POST parameter queryStr2 is read without filtering at line 10. After a successful login, the value is used as the redirect target in the Location header at lines 59 and 131, for both administrators and members. The related queryStr parameter is checked against a character whitelist in index.php, but queryStr2 is not validated, so a full external URL can be supplied. The report includes a proof-of-concept request; it is not reproduced here.
Impact and severity
The author describes a scenario in which a crafted form leads a user to submit credentials and then redirects them to an external site, enabling phishing that appears to start on the forum's hostname. Valid credentials are required, which the author says limits severity. The author gives a CVSS 3.1 base score of 4.7 (Medium) and references CWE-601. No CVE identifier is given in the source.
Timeline and fix
The flaw was reported to the miniBB maintainer on 2026-09-25 along with other miniBB 3.7.2 issues. The maintainer sent a pre-release on 2026-10-01 that removed the unused queryStr2 parameter, which the author verified. The fix shipped in miniBB 3.8 on 2026-11-20. For installations that cannot upgrade, the author suggests validating queryStr2 as a relative path, requiring the forum's own URL prefix, or applying the same whitelist used for queryStr. The full details are in the original Full Disclosure report.
What to do
- Upgrade miniBB to version 3.8 or later.
- If upgrading is not possible, follow the author's suggestions: validate queryStr2 as a relative path, require the forum's own URL prefix, or apply the queryStr whitelist.
- Read the original Full Disclosure report for the full technical details.
Original report
“miniBB 3.7.2 `queryStr2` Open Redirect Vulnerability”
Posted by Khashayar Fereidani on Dec 01 # miniBB 3.7.2 `queryStr2` Open Redirect Vulnerability **Author:** Khashayar Fereidani **Disclosure Date:** 2026-11-20 **Advisory:** https://fereidani.com/minibb-372-querystr2-open-redirect-vulnerability **Contact:** https://fereidani.com/contact ## Description An open redirect vulnerability exists in the login flow of miniBB (bb_func_login.php). The `query…
Also reported by
- Full Disclosure: miniBB 3.7.2 `poster_ip` Stored Cross-Site Scripting Vulnerability
- Full Disclosure: miniBB 3.7.2 `banip[]` SQL Injection Vulnerability
- Full Disclosure: miniBB 3.7.2 `deleteAll` Cross-Site Scripting Vulnerability
- Full Disclosure: miniBB 3.7.2 `whatus` Cross-Site Scripting Filter Bypass
- Full Disclosure: miniBB 3.7.2 `X-Forwarded-For` SQL Injection Vulnerability(CRITICAL)
- Full Disclosure: miniBB 3.7.2 `movedMsgs` SQL Injection Vulnerability
- Full Disclosure: miniBB 3.7.2 `banreason` Cross-Site Scripting Vulnerability
- GHSA-5w3m-mfwg-9f8r / CVE-2026-118513 — Symfony: X509Authenticator and X509AuthenticationListener Read Escaped RFC 2253 Commas and Bare Slashes Inside a DN Value as RDN Boundaries
- GHSA-gq53-v8w2-gjhj / CVE-2026-121971 — Symfony: ScopingHttpClient Sends the Credentials of Its Default Scope to Other Origins Through Network-Path References
- GHSA-h38r-xrmh-cwhr / CVE-2026-118515 — Symfony: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server File
- Joomla! Core PHP Object Injection Vulnerability in 1.5.0-5.4.11 and 6.0.0-6.2.1
- CVE-2026-141330 — kd2org oPodSync