ADVISORIES

GitHub Advisory Database

GHSA-wv23-pfj7-2mjj

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:

Affected packages

EcosystemPackageAffected versions
Packagistoctober/system
From 1.1.0 before 1.1.6 (fixed in 1.1.6)
Packagistoctober/system
All versions before 1.0.473 (fixed in 1.0.473)

References