严重 PHP Smarty smarty_internal_runtime_codeframe 远程代码执行漏洞

CVE编号

CVE-2017-1000480

利用情况

POC 已公开

补丁情况

官方补丁

披露时间

2018-01-04
漏洞描述
New Digital Group Smarty是New Digital Group公司的的一款使用PHP语言编写的模板引擎。

New Digital Group Smarty中存在PHP代码注入漏洞,该漏洞源于程序未能过滤模板名。目前没有详细的漏洞细节提供。
解决建议
厂商已发布漏洞修复程序,请及时关注更新:
https://github.com/smarty-php/smarty/blob/master/change_log.txt
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 smarty smarty * From
(including)
3.0.0
Up to
(excluding)
3.1.32
运行在以下环境
系统 debian_10 smarty3 * Up to
(excluding)
3.1.31+20161214.1.c7d42e4+selfpack1-3
运行在以下环境
系统 debian_11 smarty3 * Up to
(excluding)
3.1.31+20161214.1.c7d42e4+selfpack1-3
运行在以下环境
系统 debian_12 smarty3 * Up to
(excluding)
3.1.31+20161214.1.c7d42e4+selfpack1-3
运行在以下环境
系统 debian_7 smarty3 * Up to
(excluding)
3.1.10-2+deb7u2
运行在以下环境
系统 debian_8 smarty3 * Up to
(excluding)
3.1.21-1+deb8u1
运行在以下环境
系统 debian_9 smarty3 * Up to
(excluding)
3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u1
运行在以下环境
系统 fedora_28 php-Smarty * Up to
(excluding)
3.1.33-1.fc28
运行在以下环境
系统 fedora_29 php-Smarty * Up to
(excluding)
3.1.33-1.fc29
运行在以下环境
系统 fedora_EPEL_7 php-Smarty * Up to
(excluding)
3.1.33-1.el7
运行在以下环境
系统 ubuntu_18.04 smarty3 * Up to
(excluding)
3.1.31+20161214.1.c7d42e4+selfpack1-3
运行在以下环境
系统 ubuntu_18.04.5_lts smarty3 * Up to
(excluding)
3.1.31+20161214.1.c7d42e4+selfpack1-3
阿里云评分
9.1
  • 攻击路径
    远程
  • 攻击复杂度
    容易
  • 权限要求
    无需权限
  • 影响范围
    全局影响
  • EXP成熟度
    POC 已公开
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    传输被破坏
  • 服务器危害
    服务器失陷
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-94 对生成代码的控制不恰当(代码注入)
阿里云安全产品覆盖情况