中危 twistedmatrix twisted 在web页面生成时对输入的转义处理不恰当(跨站脚本)
CVE编号
CVE-2022-39348利用情况
暂无补丁情况
官方补丁披露时间
2022-10-27漏洞描述
Twisted is an event-based framework for internet applications. Started with version 0.9.4, when the host header does not match a configured host `twisted.web.vhost.NameVirtualHost` will return a `NoResource` resource which renders the Host header unescaped into the 404 response allowing HTML and script injection. In practice this should be very difficult to exploit as being able to modify the Host header of a normal HTTP request implies that one is already in a privileged position. This issue was fixed in version 22.10.0rc1. There are no known workarounds.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | twistedmatrix | twisted | * | From (including) 0.9.4 | Up to (excluding) 22.10.0 | ||||
运行在以下环境 | |||||||||
应用 | twistedmatrix | twisted | 22.10.0 | - | |||||
运行在以下环境 | |||||||||
系统 | amazon_2 | python-twisted-web | * | Up to (excluding) 12.1.0-8.amzn2.0.1 | |||||
运行在以下环境 | |||||||||
系统 | amazon_2023 | python-twisted | * | Up to (excluding) 22.4.0-125.amzn2023.0.2 | |||||
运行在以下环境 | |||||||||
系统 | amazon_AMI | python-twisted-web | * | Up to (excluding) 8.2.0-6.8.amzn1 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | twisted | * | Up to (excluding) 18.9.0-3+deb10u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | twisted | * | Up to (including) 20.3.0-7+deb11u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | twisted | * | Up to (excluding) 22.4.0-4 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | twisted | * | Up to (excluding) 22.4.0-4 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.3 | python3-Twisted | * | Up to (excluding) 19.10.0-150200.3.18.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.4 | python3-Twisted | * | Up to (excluding) 22.2.0-150400.5.7.1 | |||||
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 普通权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-79 | 在Web页面生成时对输入的转义处理不恰当(跨站脚本) |
CWE-80 | Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本) |
Exp相关链接

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