漏洞描述
CrafterCMS (Crafter Engine) 3.1.0 to 3.1.14 is vulnerable to an unauthenticated arbitrary file read. The page render controller uses the requested URL path as the FreeMarker view name, and the default templates folder is configured as the site repository root ("/"), so the FreeMarker template loader resolves the requested path against the repository root. An unauthenticated attacker can request internal, non-public files such as server-side Groovy scripts (/scripts/*), FreeMarker templates (/templates/*) and Git metadata (/.git/*), whose contents are returned rendered in the HTTP response.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。