Smarty 是一款用于 PHP 的模板引擎,旨在实现表现层(HTML/CSS)与应用逻辑的分离。在 4.5.7 和 5.8.2 版本之前(视具体发布线而定),Smarty 位于 和 中的 处理逻辑,在启用安全策略时,仅使用 对初始远程 URL 进行校验,以判断其是否属于受信任的 URI 列表。对于由 处理的资源(包括 HTTPS URL),PHP 默认会跟随 HTTP 重定向。因此,如果攻击者能够提供或影响 fetch 的目标,且该目标在一个受信任的主机上存在开放重定向,攻击者便可将请求重定向到其选择的内部端点,
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| smarty-php | smarty | >= 5.0.0, < 5.8.2 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet