GHSA-QJ3Q-J7R4-428P
"app/render-elements" return URL signing oracle leads to RCE
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-QJ3Q-J7R4-428P divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Craft allows a non-administrator control panel user to obtain a valid HMAC over an attacker-selected Twig object template.
The `app/render-elements` endpoint forwards request-controlled element-instance configuration to `Cp::elementChipHtml()`.
With `hyperlink=true`, a non-modal context, and a templated `returnUrl`, Craft signs the supplied template with its global security key and returns the signed value in generated HTML.
The signature is not bound to its original purpose. The same signed value can be submitted as the `redirect` parameter to the login action. Following successful authentication, Craft validates the signature and evaluates the template through the unsandboxed `renderObjectTemplate()` path. This reaches native PHP callables and permits operating system command execution with the PHP worker’s privileges.
Impact
- Successful exploitation gives a control panel user arbitrary command execution as the PHP/web-server worker. This can expose the Craft security key, database, and environment credentials, CMS content, and other files readable by that process.
Report ID: 1882
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistcraftcms/cms |
Corregida | 5.11.2 | — | — |
5.11.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/craftcms/cms/security/advisories/GHSA-qj3q-j7r4-428pLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
