CVE-2021-3311
October CMS Session ID not invalidated after logout
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
An issue was discovered in October through build 471. It reactivates an old session ID (which had been invalid after a logout) once a new login occurs. NOTE: this violates the intended Auth/Manager.php authentication behavior but, admittedly, is only relevant if an old session ID is known to an attacker.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | october/rain | 1.0.472, 1.1.2 |
References
- http://cve.circl.lu/cve/CVE-2021-3311
- https://anisiosantos.me/october-cms-token-reactivation
- https://github.com/octobercms/library/commit/642f597489e6f644d4bd9a0c267e864cabead024
- https://github.com/octobercms/october/security/advisories/GHSA-7ggw-h8pp-r95r
- https://nvd.nist.gov/vuln/detail/CVE-2021-3311
- https://octobercms.com/forum/chan/announcements
- https://packagist.org/packages/october/rain