中危 lxml up to 4.2.4 javascript URL lxml/html/clean.py 跨站脚本攻击

CVE编号

CVE-2018-19787

利用情况

暂无

补丁情况

官方补丁

披露时间

2018-12-02
漏洞描述
在4.2.5之前的lxml中发现了一个问题。 lxml.html.clean模块中的lxml / html / clean.py不会删除javascript:使用转义的URL,允许远程攻击者进行XSS攻击,如Internet Explorer中的“j a v a s c r i p t:”所示。这与CVE-2014-3146类似。

解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 lxml lxml * Up to
(excluding)
4.2.5
运行在以下环境
系统 debian_10 lxml * Up to
(excluding)
4.2.5-1
运行在以下环境
系统 debian_11 lxml * Up to
(excluding)
4.2.5-1
运行在以下环境
系统 debian_12 lxml * Up to
(excluding)
4.2.5-1
运行在以下环境
系统 fedora_28 python-lxml * Up to
(excluding)
4.2.5-1.fc28
运行在以下环境
系统 fedora_29 python-lxml * Up to
(excluding)
4.2.5-1.fc29
运行在以下环境
系统 opensuse_Leap_15.3 python3-lxml * Up to
(excluding)
4.7.1-3.7.1
运行在以下环境
系统 opensuse_Leap_15.4 python2-lxml * Up to
(excluding)
4.7.1-3.7.1
运行在以下环境
系统 suse_12_SP5 python-lxml * Up to
(excluding)
3.6.1-8.5.1
运行在以下环境
系统 ubuntu_14.04 lxml * Up to
(excluding)
3.3.3-1ubuntu0.2
运行在以下环境
系统 ubuntu_16.04 lxml * Up to
(excluding)
3.5.0-1ubuntu0.1
运行在以下环境
系统 ubuntu_18.04 lxml * Up to
(excluding)
4.2.1-1ubuntu0.1
阿里云评分
4.9
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    越权影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
阿里云安全产品覆盖情况