Summary
Khashayar Fereidani disclosed an unauthenticated SQL injection in miniBB 3.7.2 through the X-Forwarded-For header. The forum's getIP() function checks the header against IPv4 and IPv6 patterns, but the IPv6 pattern is unanchored and accepts any value containing two colons, so attacker text becomes the visitor's address and reaches SQL queries built by string concatenation. Reachable spots include failed logins and anonymous posting. The researcher says an attacker could extract member records and password hashes with blind techniques and bypass IP bans, scoring it 8.2. It is fixed in miniBB 3.8; older installs can anchor the pattern or use PHP's built-in IP validation.
Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

SecSIG