低危 PHPMailer远程代码执行漏洞(CNVD-2017-00052)
CVE编号
CVE-2016-10045利用情况
POC 已公开补丁情况
官方补丁披露时间
2016-12-31漏洞描述
PHPMailer是一个用于发送电子邮件的PHP类库。 PHPMailer 5.2.20之前的版本中存在远程代码执行漏洞,该漏洞由于PHPMailer官方补丁中使用的过滤函数可被绕过。远程攻击者可利用该漏洞在Web服务器账户环境中执行任意代码。解决建议
目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | phpmailer_project | phpmailer | * | Up to (including) 5.2.19 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.2 | php-phpmailer | * | Up to (excluding) 5.2.4-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.3 | php-phpmailer | * | Up to (excluding) 5.2.4-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.4 | php5-phpmailer | * | Up to (excluding) 5.2.0-r1 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.5 | php5-phpmailer | * | Up to (excluding) 5.2.4-r1 | |||||
运行在以下环境 | |||||||||
系统 | debian | DPKG | * | Up to (excluding) 0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | libphp-phpmailer | * | Up to (excluding) 6.0.6-0.1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | libphp-phpmailer | * | Up to (excluding) 6.2.0-2 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | libphp-phpmailer | * | Up to (excluding) 6.6.3-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | libphp-phpmailer | * | Up to (excluding) 6.8.1-1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_24 | php-PHPMailer | * | Up to (excluding) 5.2.22-1.fc24 | |||||
运行在以下环境 | |||||||||
系统 | fedora_25 | php-PHPMailer | * | Up to (excluding) 5.2.21-1.fc25 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_6 | php-PHPMailer | * | Up to (excluding) 5.2.22-1.el6 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_7 | php-PHPMailer | * | Up to (excluding) 5.2.22-1.el7 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04.5_lts | libphp-phpmailer | * | Up to (excluding) 5.2.14+dfsg-2.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.10 | libphp-phpmailer | * | Up to (excluding) 5.2.14+dfsg-2.1 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 POC 已公开
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 100
CWE-ID | 漏洞类型 |
CWE-77 | 在命令中使用的特殊元素转义处理不恰当(命令注入) |
Exp相关链接
- https://github.com/zi0Black/CVE-2016-010033-010045
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/phpmailer_arg_injection.rb
- https://www.exploit-db.com/exploits/40969
- https://www.exploit-db.com/exploits/40986
- https://www.exploit-db.com/exploits/42221

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论