Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › PHP

Exploit Analysis

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.

PHPWebVulnerabilities

Key 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

  1. Upgrade miniBB to version 3.8 or later.
  2. 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.
  3. Read the original Full Disclosure report for the full technical details.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Full Disclosureseclists.org

“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

More on this topic