Horizon Alert
Summary of the vulnerability and why it matters
This advisory details a security vulnerability in Wiki.js where active user tokens are not properly invalidated after logout, potentially allowing unauthorized access to the system. The issue lies within the authentication logic, impacting both the GraphQL endpoint and the logout process, and could compromise session integrity.
- Logged-out users may still access the system.
- Confirms improper handling of user session security.
- Verify relevance to internal Wiki.js deployments.
Attack Path
How an attacker could exploit the issue
An attacker could gain unauthorized access to Wiki.js by exploiting a flaw in how active login tokens are handled. Even after a user logs out, existing tokens might still be valid, allowing an attacker to reuse a compromised token to access the system. This vulnerability impacts the system's session integrity and authentication process.
- No initial access needed.
- Reuse of valid, logged-out tokens.
- Unauthorized access to system data.
Live Threat
Current exploitation, exposure, and threat context
When JWT tokens are not properly revoked after a user logs out of Wiki.js, previously issued tokens remain valid. This compromised session integrity could allow unauthorized access to the system if an attacker obtains a valid token.
- Unauthorized access to wiki data.
- Reused tokens bypass logout security.
- Compromised session integrity.
Operational Fix
Recommended remediation, mitigation, and detection steps
The requarks wiki.js authentication resolver is susceptible to JWT token reuse after logout, potentially allowing unauthorized access. Technical leaders and security teams must first identify all instances of requarks wiki.js, determine their exposure, and confirm their business criticality. Subsequently, accountable owners should be identified to plan remediation, prioritizing systems that are publicly accessible or handle sensitive information.
- Platform teams likely own this issue.
- Verify system exposure and asset owners.
- Plan remediation based on risk assessment.