Skip to main content

Question2Answer EUVDEUVD-2026-47782

| CVE-2026-64829 CRITICAL
Insufficient Session Expiration (CWE-613)
2026-07-22 disclosure@vulncheck.com
9.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Steal victim's persistent qa_session cookie
  2. Delivery
    Victim triggers forgot-password reset
  3. Exploit
    Reset omits sessioncode clearing
  4. Execution
    Replay old cookie
  5. Impact
    Retain authenticated account access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation requires the attacker to already hold a valid persistent 'Remember me' (qa_session) cookie issued BEFORE the password reset occurs - this cookie must have been obtained through a separate means (theft, XSS, device access). The specific trigger is the victim completing the forgot-password reset flow (qa_finish_reset_user), which fails to clear the sessioncode field. Limiting factors: the attack only works on accounts where persistent login was enabled and a cookie was captured pre-reset; it does not grant fresh initial access and cannot be launched with no prior foothold. It is effective specifically against Question2Answer <= 1.8.8 where the forgot-password path omits sessioncode invalidation.

Impact

The vendor CVSS 4.0 score is 9.1 (AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N), but that headline number overstates real-world priority for most defenders. The high score comes from network vector and high confidentiality/integrity impact, yet AC:H correctly reflects a hard prerequisite: the attacker must ALREADY possess a valid persistent cookie stolen before the reset. This is a post-compromise persistence/lockout-evasion weakness, not an initial-access flaw - a victim resetting a password specifically to evict an attacker will fail to do so. No EPSS score, KEV listing, or SSVC decision data was provided, and no public POC is indicated, so widespread opportunistic exploitation is unlikely. Note a taxonomy discrepancy: the VulnCheck advisory title calls this 'session fixation,' while the description and CWE-613 describe insufficient session expiration/invalidation - the latter is the accurate characterization and should guide remediation reasoning.

Exploit ScenarioDerived

An attacker who earlier obtained a victim's persistent qa_session cookie (e.g., via XSS, cookie theft, or a shared/compromised device) retains a copy. The victim, suspecting compromise, uses the forgot-password flow to reset their password - but because sessioncode is never cleared, the attacker's old cookie still authenticates them to the account. No public POC is identified, but the exploitation logic is trivial once a valid pre-reset cookie is held.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Persistent authentication bypass in Question2Answer through 1.8.8 lets an attacker holding a stolen 'Remember me' (qa_session) cookie keep authenticated access to an account even after its password is reset via the forgot-password flow. The reset handler qa_finish_reset_user() fails to clear the user's sessioncode field, so previously issued persistent cookies remain valid - defeating the primary account-recovery defense used after a compromise. No public exploit identified at time of analysis, and it is not listed in CISA KEV; the fix is an upstream GitHub pull request rather than a tagged release.

RemediationAI

Upstream fix available (PR/commit); a released patched version was not independently confirmed from the provided data. Apply the change from https://github.com/q2a/question2answer/pull/1017, which adds qa_db_user_set($userId, 'sessioncode', '') inside qa_finish_reset_user() so that a password reset clears the sessioncode and invalidates all outstanding persistent 'Remember me' cookies. Until a tagged release is available, operators can cherry-pick that one-line patch, or as an interim compensating control disable the persistent-login/'Remember me' feature so no long-lived qa_session cookies are issued (trade-off: users must log in each session). For accounts suspected of prior compromise, administratively rotate the affected users' sessioncode values in the database to force-expire existing cookies immediately. Consult the vendor advisory at https://www.vulncheck.com/advisories/question2answer-session-fixation-via-forgot-password-flow for details.

Affected VersionsENISA

question2answer 0 ≤1.8.8

Affected Packages

euvd question2answer no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Question2Answer is an open-source PHP Q&A platform. Its persistent-login ('Remember me') feature issues a qa_session cookie whose validity is anchored to a per-user sessioncode value stored in the database. When that sessioncode is cleared or rotated, all outstanding persistent cookies are invalidated. The normal in-app password change (qa-include/pages/account.php) explicitly resets sessioncode, but the forgot-password reset path (qa_finish_reset_user() in qa-include/app/users-edit.php) omits this step. This maps to CWE-613 (Insufficient Session Expiration): a security-sensitive event (password reset) that should terminate all sessions fails to do so, leaving pre-existing session tokens valid. The upstream fix (PR #1017) simply adds qa_db_user_set($userId, 'sessioncode', '') to the reset function so old persistent logins stop working.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 9.1 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

AC:H and UI:R because the attacker needs a pre-stolen persistent cookie and the victim must perform the password reset; PR:N since no normal credentials are used; C:H/I:H for full account access, A:N.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Question2Answer versions through 1.8.8 contain a critical authentication bypass where attackers holding stolen persistent 'Remember me' cookies retain account access even after the legitimate owner resets their password, eliminating the primary defense during account compromise recovery. This vulnerability affects any organization deploying vulnerable versions in production Q&A platforms or community forums. Leadership should prioritize remediation as account compromise recovery mechanisms are essential safeguards against persistent attacker access.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: implement application-level session invalidation triggered by password reset if the sessioncode field is not automatically cleared; monitor authentication logs for impossible-travel patterns indicating stolen cookie exploitation; enforce periodic re-authentication for sensitive operations; increase logging verbosity on persistent cookie validation; consider forcing logout of all active sessions when password reset is initiated.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Low
niche open-source PHP Q&A platform, limited enterprise footprint
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy