Craftcms cms
Authenticated RCE via render-components Entry Type overrides
Craft CMS 5.10.13.2 contains an authenticated remote code execution vulnerability in the Control Panel action app/render-components. Any authenticated user with basic Control Panel access can submit request-controlled component classes and property overrides. By first overriding an EntryType object’s uiLabelFormat and then rendering an Entry that resolves the same request-cached entry type, an attacker can cause arbitrary Twig supplied in the request to be evaluated by renderObjectTemplate(). This render path is not sandboxed. A Twig string callable can therefore reach PHP functions such as system(), resulting in operating-system command execution with the privileges of the PHP/web-server process. The issue was reproduced with an active non-admin Craft Team user with no optional permissions enabled. No access to entry-editing, Settings, utility, user-management, project-config, filesystem, Kubernetes, or environment variables was required.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.0.0, < 5.11.0
Fixed in 5.11.0
Mitigation
Upgrade cms to 5.11.0 or later.
References
- Mitigation hckrt.com/hacktivity/HCKRT-PVWH7W
- Release notes github.com/craftcms/cms/releases/tag/5.11.0
- Vendor advisory github.com/craftcms/cms/security/advisories/GH…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.