{"id":"CVE-2021-29487","aliases":["CVE-2021-29487","GHSA-h76r-vgf3-j6w5"],"related":[],"kind":"vulnerability","state":"published","title":"Authentication bypass in Octobercms","summary":"octobercms in a CMS platform based on the Laravel PHP Framework. In affected versions of the october/system package an attacker can exploit this vulnerability to bypass authentication and takeover of and user account on an October CMS server. The vulnerability is exploitable by unauthenticated users via a specially crafted request. This only affects frontend users and the attacker must obtain a Laravel secret key for cookie encryption and signing in order to exploit this vulnerability. The issue has been patched in Build 472 and v1.1.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"octobercms in a CMS platform based on the Laravel PHP Framework. In affected versions of the october/system package an attacker can exploit this vulnerability to bypass authentication and takeover of and user account on an October CMS server. The vulnerability is exploitable by unauthenticated users via a specially crafted request. This only affects frontend users and the attacker must obtain a Laravel secret key for cookie encryption and signing in order to exploit this vulnerability. The issue has been patched in Build 472 and v1.1.5.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn attacker can exploit this vulnerability to bypass authentication using a specially crafted persist cookie.\n\n- To exploit this vulnerability, an attacker must obtain a Laravel’s secret key for cookie encryption and signing.\n- Due to the logic of how this mechanism works, a targeted user account must be logged in while\nthe attacker is exploiting the vulnerability.\n- Authorization via persist cookie not shown in access logs.\n\n### Patches\n\n- Issue has been patched in Build 472 and v1.1.5\n- [Shortened patch instructions](https://github.com/daftspunk/CVE-2021-32648)\n\n### Workarounds\n\nApply 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.\n\n[**Update 2022-01-20**] [Shortened patch instructions](https://github.com/daftspunk/CVE-2021-32648) can be found here.\n\n### Recommendations\n\nWe recommend the following steps to make sure your server stays secure:\n\n- Keep server OS and system software up to date.\n- Keep October CMS software up to date.\n- Use a multi-factor authentication plugin.\n- Change the [default backend URL](https://github.com/octobercms/october/blob/1.1/config/cms.php#L39) or block public access to the backend area.\n- Include the [Roave/SecurityAdvisories](https://github.com/Roave/SecurityAdvisories) Composer package to ensure that your application doesn't have installed dependencies with known security vulnerabilities.\n\n### References\n\nBugs found as part of Solar Security CMS Research. Credits to:\n• Andrey Basarygin\n• Andrey Guzei\n• Mikhail Khramenkov\n• Alexander Sidukov\n• Maxim Teplykh\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [hello@octobercms.com](mailto:hello@octobercms.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"octobercms en una plataforma CMS basada en el framework PHP Laravel. En las versiones afectadas del paquete october/system un atacante puede explotar esta vulnerabilidad para omitir la autenticación y hacerse con una cuenta de usuario en un servidor de October CMS. La vulnerabilidad puede ser explotada por usuarios no autenticados por medio de una petición especialmente diseñada. Esto sólo afecta a usuarios del frontend y el atacante debe obtener una clave secreta de Laravel para el cifrado y la firma de cookies con el fin de explotar esta vulnerabilidad. El problema ha sido parcheado en el Build 472 y en la versión v1.1.5.","source":"nvd"}],"published":"2021-08-26T19:00:18.000Z","modified":"2026-07-08T06:29:54.626Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":">= 1.0.471, < 1.0.472","status":"affected"},{"version":">= 1.1.1, < 1.1.5","status":"affected"}],"vendor":"octobercms","product":"october","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.472"}],"ecosystem":"Packagist","package":"october/system","purl":"pkg:composer/october/system","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.1.1","status":"affected","fixed":"1.1.5"}],"ecosystem":"Packagist","package":"october/system","purl":"pkg:composer/october/system","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.471","fixed":"1.0.472"},{"status":"affected","introduced":"1.1.1","fixed":"1.1.5"}],"vendor":"octobercms","product":"october","cpe":"cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/octobercms/library/commit/016a297b1bec55d2e53bc889458ed2cb5c3e9374","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/octobercms/library/commit/5bd1a28140b825baebe6becd4f7562299d3de3b9","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/octobercms/october/security/advisories/GHSA-h76r-vgf3-j6w5","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29487","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/octobercms/october","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-29487","url":"https://www.cve.org/CVERecord?id=CVE-2021-29487","licence":"CVE Terms of Use","modified":"2024-08-03T22:11:05.562Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h76r-vgf3-j6w5","url":"https://github.com/advisories/GHSA-h76r-vgf3-j6w5","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:54.626Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-29487","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29487","licence":"Public domain","modified":"2026-06-17T03:47:44.653Z"}],"updatedAt":"2026-11-25T22:58:03.519Z","epss":{"score":0.00902,"percentile":0.60794,"date":"2026-12-01T12:00:22.000Z"}}