Question2Answer 1.8.8 Session Fixation via Forgot-Password Flow
q2a question2answer
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| q2a question2answer |
| No fix yet |
Original description
Question2Answer through 1.8.8 contains a session invalidation vulnerability that allows attackers with a previously obtained remember-me cookie to retain authenticated access by exploiting the forgot-password reset flow's failure to clear the sessioncode field in qa-include/app/users-edit.php. While the normal password-change flow in qa-include/pages/account.php explicitly clears the sessioncode to invalidate persistent qa_session cookies, the forgot-password handler qa_finish_reset_user() omits this step, allowing any valid persistent cookie issued before the reset to continue authenticating the account after the password reset completes.
From the CVE record · VulnCheck