October CMS auth bypass and account takeover
Published 30 Aug 2021 · Updated 8 Jul 2026
Affected packages
- Affected
- <1.0.472
- Fixed in
- 1.0.472
composer require october/system:^1.0.472- Affected
- >=1.1.1 <1.1.5
- Fixed in
- 1.1.5
composer require october/system:^1.1.5Details
Impact
An attacker can exploit this vulnerability to bypass authentication using a specially crafted persist cookie.
- To exploit this vulnerability, an attacker must obtain a Laravel’s secret key for cookie encryption and signing.
- Due to the logic of how this mechanism works, a targeted user account must be logged in while
the attacker is exploiting the vulnerability.
- Authorization via persist cookie not shown in access logs.
Patches
- Issue has been patched in Build 472 and v1.1.5
- Shortened patch instructions
Workarounds
Apply https://github.com/octobercms/library/commit/016a297b1bec55d2e53bc889458ed2cb5c3e9374 and https://github.com/octobercms/library/commit/5bd1a28140b825baebe6becd4f7562299d3de3b9 to your installation manually if you are unable to upgrade.
[Update 2022-01-20] Shortened patch instructions can be found here.
Recommendations
We recommend the following steps to make sure your server stays secure:
- Keep server OS and system software up to date.
- Keep October CMS software up to date.
- Use a multi-factor authentication plugin.
- Change the default backend URL or block public access to the backend area.
- Include the Roave/SecurityAdvisories Composer package to ensure that your application doesn't have installed dependencies with known security vulnerabilities.
References
Bugs found as part of Solar Security CMS Research. Credits to: • Andrey Basarygin • Andrey Guzei • Mikhail Khramenkov • Alexander Sidukov • Maxim Teplykh
For more information
If you have any questions or comments about this advisory:
- Email us at [hello@octobercms.com](mailto:hello@octobercms.com)
Is GHSA-h76r-vgf3-j6w5 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected october/system, and gives you the command that fixes it.
References
- Linkgithub.com/octobercms/october/security/advisories/GHSA-h76r-vgf3-j6w5
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-29487
- Linkgithub.com/octobercms/library/commit/016a297b1bec55d2e53bc889458ed2cb5c3e9374
- Linkgithub.com/octobercms/library/commit/5bd1a28140b825baebe6becd4f7562299d3de3b9
- Packagegithub.com/octobercms/october
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.