Smarty 代码注入漏洞(CVE-2022-29221)

admin 2023-11-30 07:39:40 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 Smarty 代码注入漏洞(CVE-2022-29221)

CVE编号

CVE-2022-29221

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-05-24
漏洞描述
Smarty是基于PHP的模板引擎,有助于将表示 (HTML/CSS) 与应用程序逻辑分离。 Smarty 3.1.45之前的3.1.x版本以及4.1.1之前的4.1.x版本存在代码注入漏洞,远程攻击者利用该漏洞可以发送专门编写的请求,并在目标系统上执行任意PHP代码。
解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:http://github.com/smarty-php/smarty/releases/tag/v4.1.1
参考链接
https://github.com/smarty-php/smarty/commit/64ad6442ca1da31cefdab5c9874262b702cccddd
https://github.com/smarty-php/smarty/releases/tag/v3.1.45
https://github.com/smarty-php/smarty/releases/tag/v4.1.1
https://github.com/smarty-php/smarty/security/advisories/GHSA-634x-pc3q-cf4c
https://lists.debian.org/debian-lts-announce/2022/05/msg00044.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://security.gentoo.org/glsa/202209-09
https://www.debian.org/security/2022/dsa-5151
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 smarty smarty * Up to (excluding) 3.1.45
运行在以下环境
应用 smarty smarty * From (including) 4.0.0 Up to (excluding) 4.1.1
运行在以下环境
系统 debian_10 smarty3 * Up to (excluding) 3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u1
运行在以下环境
系统 debian_11 smarty3 * Up to (excluding) 3.1.39-2+deb11u1
运行在以下环境
系统 debian_12 smarty3 * Up to (excluding) 3.1.45-1
运行在以下环境
系统 debian_9 smarty3 * Up to (excluding) 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u6
运行在以下环境
系统 debian_sid smarty3 * Up to (excluding) 3.1.45-1
运行在以下环境
系统 fedora_36 php-Smarty * Up to (excluding) 3.1.47-1.fc36
运行在以下环境
系统 fedora_37 php-Smarty * Up to (excluding) 3.1.47-1.fc37
运行在以下环境
系统 fedora_EPEL_7 php-Smarty * Up to (excluding) 3.1.47-1.el7
运行在以下环境
系统 ubuntu_22.04 smarty3 * Up to (excluding) 3.1.39-2ubuntu1.22.04.1
运行在以下环境
系统 ubuntu_22.10 smarty3 * Up to (excluding) 3.1.39-2ubuntu1.22.10.1
阿里云评分 6.8
  • 攻击路径 远程
  • 攻击复杂度 复杂
  • 权限要求 无需权限
  • 影响范围 全局影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 数据泄露
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-94 对生成代码的控制不恰当(代码注入)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0