Summary
There is a vulnerability in the current version of Invision Power Board that allows an attacker to reveal the SQL queries used by the product, and any page that was built by the administrator using the IPB's interface, simply by appending the variable 'debug' to the request.
Solution
Upgrade to the newest version of this software.