Description
A Server-Side Template Injection (SSTI) vulnerability exists in Mautic’s theme engine. The platform renders uploaded Twig templates without a sandbox or strict function restrictions. Authenticated users with permissions to create or upload themes can abuse this to execute arbitrary code on the hosting server (Remote Code Execution) or access restricted system files and configuration settings.
Problem types
CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
Product status
1.3.0 (semver) before 4.4.20
5.0.0 (semver) before 5.2.11
6.0.0 (semver) before 6.0.9
7.0.0 (semver) before 7.1.2
Credits
Onurcan Genç (@onurcangnc)
Daniel Zhang (@xfer0)
Tuan Do (@Entropt)
Patryk Gruszka (@patrykgruszka)
John Linhart (@escopecz)
Leuchtfeuer Digital Marketing (@Leuchtfeuer)
References
github.com/…mautic/security/advisories/GHSA-9fx4-7cmj-47vg
