Submeter #1077585: https://gitee.com/sanluan/PublicCMS PublicCMS 5.0 Server-Side Template Injectioninformação

Títulohttps://gitee.com/sanluan/PublicCMS PublicCMS 5.0 Server-Side Template Injection
DescriçãoThe `templateResult` directive of PublicCMS compiles and executes the request parameter `templateContent` directly as FreeMarker template source code, with no content validation or expression-whitelist restriction. This directive is exposed through the `/api/directive/tools/templateResult` endpoint and only requires a valid `appToken` header. Any caller holding this credential can submit arbitrary FreeMarker template syntax, which the server evaluates and echoes back. Testing confirmed that the server executes the submitted FreeMarker expressions (`${1+1}` returns `2`) and can read internal information such as the FreeMarker engine version and locale. Because this version of FreeMarker enables `ALLOWS_NOTHING_RESOLVER`, the `?new` built-in is disabled, so dangerous classes such as `freemarker.template.utility.Execute` could not be instantiated; therefore remote code execution was not achieved in this report.
Fonte⚠️ https://github.com/sikii7/CVE-md/blob/main/PublicCMS-V5/templateResult-Template-Injection.md
Utilizador
 sikii (UID 47840)
Submissão06/11/2026 10h59 (há 1 mês)
Moderação02/12/2026 19h20 (26 days later)
EstadoDuplicado
Entrada VulDB364328 [Sanluan PublicCMS 5.202506.d templateResult API TemplateResultDirective.java execute templateContent Elevação de Privilégios]
Pontos0

Interested in the pricing of exploits?

See the underground prices here!