8.8high
Authenticated file write leads to remote code execution in october/system
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.38% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-wv23-pfj7-2mjj
Description
October CMS is a self-hosted content management system (CMS) platform based on the Laravel PHP Framework. Prior to versions 1.0.473 and 1.1.6, an attacker with "create, modify and delete website pages" privileges in the backend is able to execute PHP code by running specially crafted Twig code in the template markup. The issue has been patched in Build 473 (v1.0.473) and v1.1.6. Those unable to upgrade may apply the patch to their installation manually as a workaround.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| octobercms october | < 1.0.473, >= 1.1.0, < 1.1.6, before 1.0.473, from 1.1.0 before 1.1.6 | CVE List, NVD |
| october/system (Packagist) | from 1.1.0 before 1.1.6, before 1.0.473 | GitHub Advisory Database |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
October CMS is a self-hosted content management system (CMS) platform based on the Laravel PHP Framework. Prior to versions 1.0.473 and 1.1.6, an attacker with "create, modify and delete website pages" privileges in the backend is able to execute PHP code by running specially crafted Twig code in the template markup. The issue has been patched in Build 473 (v1.0.473) and v1.1.6. Those unable to upgrade may apply the patch to their installation manually as a workaround.
GitHub Advisory Database
Impact
Assuming an attacker with "create, modify and delete website pages" privileges in the backend is able to execute PHP code by running specially crafted Twig code in the template markup.
Patches
Issue has been patched in Build 473 and v1.1.6
Workarounds
Apply https://github.com/octobercms/october/commit/167b592eed291ae1563c8fcc5b9b34a03a300f26 to your installation manually if you are unable to upgrade.
References
Credits to: • David Miller
For more information
If you have any questions or comments about this advisory:
- Email us at hello@octobercms.com
NVD (es)
October CMS es una plataforma de sistema de administración de contenidos (CMS) auto alojada basada en el framework PHP Laravel. En versiones anteriores a 1.0.473 y 1.1.6, un atacante con privilegios "create, modify and delete website pages" en el backend es capaz de ejecutar código PHP mediante la ejecución de código Twig especialmente diseñado en el marcado de la plantilla. El problema ha sido parcheado en la Build 473 (v1.0.473) y versión v1.1.6. Los que no puedan actualizar pueden aplicar el parche a su instalación manualmente como medida de mitigación
References
| https://github.com/octobercms/october/commit/167b592eed291ae1563c8fcc5b9b34a03a300f26 | patch, third-party-advisory, web | |
| https://github.com/octobercms/october/security/advisories/GHSA-wv23-pfj7-2mjj | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32649 | advisory | |
| https://github.com/octobercms/october | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32649 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wv23-pfj7-2mjj changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-32649 changed 2026-06-17 | Public domain |