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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| q2a | question2answer | ≤ 1.8.8 | — |
References
- Pull Request issue-tracking patch
- https://www.vulncheck.com/advisories/question2answer-session-fixation-via-forgot-password-flow third-party-advisory