Description
Microweber CMS through 2.0.20 contains a server-side template injection vulnerability that allows authenticated administrators to achieve arbitrary OS command execution by injecting Twig expressions into mail templates. Attackers can exploit the unsandboxed Twig environment in TwigView::render(), which lacks SandboxExtension or a SecurityPolicy, to inject malicious expressions such as filter('system') into mail template bodies stored unsanitized in the database, causing automatic payload execution on each subsequent application event that triggers a mail dispatch.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| microweber | microweber | ≤ 2.0.20 | — |
References
- Researcher Disclosure technical-description exploit
- https://www.vulncheck.com/advisories/microweber-cms-server-side-template-injection-via-mail-templates third-party-advisory