CVE-2026-79312
6.8webpy · web.py
The web.py framework version 0.76 is susceptible to session fixation because it fails to rotate session identifiers upon successful user authentication.
Executive summary
The web.py framework version 0.76 contains a session fixation vulnerability that allows an attacker to hijack authenticated user sessions.
Vulnerability
This vulnerability occurs within the Session._load and _save functions, which utilize session identifiers directly from request cookies without rotation. An unauthenticated attacker can fix a session identifier to hijack an authenticated user's state.
Business impact
The exploitation of this vulnerability allows unauthorized access to sensitive user accounts and potentially administrative interfaces. Given the CVSS score of 6.8, this flaw presents a significant risk to data confidentiality and integrity, as successful session hijacking effectively bypasses standard authentication controls.
Remediation
Immediate Action: Upgrade to the latest available version of the web.py framework that addresses session management security. If an official patch is not available, implement custom session rotation logic immediately upon authentication in the application code.
Proactive Monitoring: Monitor server access logs for anomalous patterns where the same session cookie is utilized before and after a successful login event.
Compensating Controls: Deploy a Web Application Firewall (WAF) to detect and block suspicious cookie manipulation attempts, and ensure that session cookies are configured with the Secure and HttpOnly flags to limit exposure.
Exploitation status
Public Exploit Available: Unknown.
Analyst recommendation
Organizations utilizing web.py 0.76 should prioritize migrating to a patched release as soon as it becomes available. Due to the nature of session fixation, developers must ensure that the application explicitly invalidates existing session identifiers and issues new ones whenever a user privilege level changes, particularly during the authentication process.
More webpy CVEs
History
- Analyst report written