7.2high
MacCMS10 - Incomplete Function Blacklist in Template Editor Enables Authenticated RCE
- Severity
- 7.2high CVSS:3.1 by TuranSec
- Exploit likelihood
- 0.54% (higher than 39% of CVEs)
- Published
- Last changed
- Assigned by
- TuranSec
Description
MacCMS10's admin template editor (application/admin/controller/Template.php) blocks dangerous PHP functions in template content via a blacklist regex, but the blacklist omitted exec, passthru, popen, show_source, create_function, register_shutdown_function, register_tick_function, and error_log.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| magicblack maccms10 | up to 10 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
MacCMS10's admin template editor (application/admin/controller/Template.php) blocks dangerous PHP functions in template content via a blacklist regex, but the blacklist omitted exec, passthru, popen, show_source, create_function, register_shutdown_function, register_tick_function, and error_log.
NVD (es)
El editor de plantillas de administración de MacCMS10 (application/admin/controller/Template.php) bloquea funciones PHP peligrosas en el contenido de la plantilla mediante una expresión regular de lista negra, pero la lista negra omitió exec, passthru, popen, show_source, create_function, register_shutdown_function, register_tick_function y error_log. Combinado con la etiqueta de plantilla {if} de ThinkPHP, que incrusta el atributo condition directamente en PHP sin procesar ( [código_PHP_PoC] ), un administrador autenticado podría inyectar una carga útil como {if condition=“exec(’id mayor que /tmp/pwned.txt’)”}{/if} para lograr la ejecución remota de código. Solucionado en el commit 71ad3bb29570e110d8e973acff68040a3050ddf0 (2026-06-22), que añadió las funciones faltantes al filtro.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-71232 changed 2026-08-10 | CVE Terms of Use |
| NVD | CVE-2026-71232 changed 2026-10-24 | Public domain |