‘PHP Grade Book’ Unauthenticated SQL Database Export
A vulnerability exists in admin/index.php that allows for an unauthenticated user to export the entire application database by accessing the ‘Database Backup’ method without restriction. Due to the way sessions are handled, an attacker can then simply pass the username and password-hash via cookies to assume the administrative role without ever knowing the clear-text version of the password.
II. TESTED VERSION
III. PoC EXPLOIT
Upgrade to 1.9.5 or above.
02/29/2012 – Initial vendor disclosure
02/29/2012 – Vendor response and commitment to fix
03/01/2012 – Vendor patched and released an updated version
03/22/2012 – Public disclosure