Advisory

GHSA-wv23-pfj7-2mjj

Also known as: CVE-2021-32649

Summary

October/System authenticated file write leads to remote code execution

Details

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-01-14 21:08 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

october/system

Packagist · All systems

Affected

  • introduced 1.1.0, fixed 1.1.6 (ecosystem)

Fixed versions

1.1.6

Fix

The export has no generic command for this ecosystem.

october/system

Packagist · All systems

Affected

  • introduced 0, fixed 1.0.473 (ecosystem)

Fixed versions

1.0.473

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences