Exploit for stealing admin's account in Question2Answer. Made by MustLive. Here is exploit for stealing admin's account in Question2Answer. This exploit uses Cross-Site Request Forgery vulnerability at http://site/account and Insufficient Anti-automation vulnerabilities at http://site/forgot and http://site/reset, which I've described in the second advisory about Question2Answer (http://websecurity.com.ua/6192/). It will work in all affected versions of Question2Answer (and second part of the attack will work at default settings). If the admin of the target site has changed default settings and setup captcha at http://site/forgot, then server-side part of the attack can be done manually after conducting CSRF attack. Client-side part of exploit do the next (code provided bellow): 1. Changes e-mail of the user or admin via CSRF. 2. Start server-side part of exploit via request to attack.php. Server-side part of exploit (attack.php) do the next (algorithm): After receiving the signal from client-side part of exploit, attack.php do the next: 1. Send POST request to http://site/forgot:
2. Check mailbox for letter with the code: Code: 4f84yl1d This line contains code for resetting password. 3. Send GET request to http://site/reset with this code: http://site/reset&c=4f84yl1d&e=email%40attacker.com 4. New password is sent to attacker's e-mail. Code of client-side exploit for stealing admin's account in Question2Answer: Exploit for stealing admin's account in Question2Answer. Made by MustLive. http://websecurity.com.ua