Information Disclosure in miniBB 2.2 via glang Parameter
In miniBB 2.2, and possibly earlier versions, when PHP's register_globals is enabled, a remote attacker can trigger a full path disclosure by directly requesting the 'glang' parameter in a 'registernew' action to index.php. This results in an error message that reveals the full filesystem path of the application.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
An attacker can obtain the full filesystem path of the miniBB installation. This information can be used to facilitate further attacks, such as local file inclusion or other path-based vulnerabilities, by providing knowledge of the server's directory structure.
If you can’t patch tonight, do this now.
Disable register_globals in the PHP configuration. Configure error reporting to avoid displaying sensitive information such as filesystem paths to users. Implement input validation and error handling to prevent path disclosure.
Patch, then assume compromise.
Upgrade to a newer version of miniBB where this issue is resolved, or apply a patch that sanitizes error messages and does not disclose filesystem paths. Additionally, ensure that PHP's register_globals is disabled, as it is deprecated and insecure.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.