低危 PHPMailer 5.2.23 code_generator.php From/To 跨站脚本攻击

CVE编号

CVE-2017-11503

利用情况

POC 已公开

补丁情况

官方补丁

披露时间

2017-07-21
漏洞描述
PHPMailer是一个用于发送电子邮件的PHP类库。

PHPMailer中的‘code_generator.phps’example script存在跨站脚本漏洞,该漏洞源于在显示输入之前,程序未能正确的过滤来自用户输入的HTML代码。远程攻击者可利用该漏洞执行任意脚本代码。
解决建议
厂商已发布了漏洞修复程序,请及时关注更新:
https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 phpmailer_project phpmailer 5.2.23 -
运行在以下环境
系统 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.0.6-0.1
运行在以下环境
系统 debian_12 libphp-phpmailer * Up to
(excluding)
6.0.6-0.1
运行在以下环境
系统 fedora_24 php-PHPMailer * Up to
(excluding)
5.2.24-1.fc24
运行在以下环境
系统 fedora_25 php-PHPMailer * Up to
(excluding)
5.2.24-1.fc25
运行在以下环境
系统 fedora_26 php-PHPMailer * Up to
(excluding)
5.2.24-1.fc26
运行在以下环境
系统 fedora_EPEL_6 php-PHPMailer * Up to
(excluding)
5.2.24-1.el6
运行在以下环境
系统 fedora_EPEL_7 php-PHPMailer * Up to
(excluding)
5.2.24-1.el7
阿里云评分
3.6
  • 攻击路径
    远程
  • 攻击复杂度
    容易
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    POC 已公开
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
阿里云安全产品覆盖情况