twistedmatrix twisted 在web页面生成时对输入的转义处理不恰当(跨站脚本)

admin 2023-11-30 05:25:12 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b
https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4
https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647
https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html
https://security.gentoo.org/glsa/202301-02
受影响软件情况
# 类型 厂商 产品 版本 影响面
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
阿里云评分 5.2
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 普通权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
CWE-80 Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本)
- 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