CVE-2023-27534:SFTP路径~解决差异

admin 2023-11-30 03:02:13 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 CVE-2023-27534:SFTP路径~解决差异

CVE编号

CVE-2023-27534

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-03-20
漏洞描述
curl支持SFTP传输。curl的SFTP实现在URL的路径组件中提供了一个特殊功能:波浪号(~)字符作为路径中的第一个路径元素,表示相对于用户主目录的路径。这得到了支持,因为曾经提议成为RFC草案的措辞规定了SFTP URL的工作方式。 然而,由于一个错误,SFTP路径中波浪号的处理不仅在单独用作第一个路径元素时替换了它,而且在仅用作第一个元素中的前缀时也错误地替换了它。 当使用用户dan(主目录为/home/dan)访问服务器时,使用像/~2/foo这样的路径会访问文件/home/dan2/foo。 这可以用来规避过滤或更糟的情况。
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://curl.se/docs/CVE-2023-27534.html
https://hackerone.com/reports/1892351
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://seclists.org/oss-sec/2023/q1/175
https://security.gentoo.org/glsa/202310-12
https://security.netapp.com/advisory/ntap-20230420-0012/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 haxx curl * From (including) 7.18.0 Up to (including) 7.88.1
运行在以下环境
系统 alpine_3.14 curl * Up to (excluding) 8.0.1-r0
运行在以下环境
系统 alpine_3.15 curl * Up to (excluding) 8.0.1-r0
运行在以下环境
系统 alpine_3.16 curl * Up to (excluding) 8.0.1-r0
运行在以下环境
系统 alpine_3.17 curl * Up to (excluding) 7.88.1-r1
运行在以下环境
系统 alpine_3.18 curl * Up to (excluding) 8.0.0-r0
运行在以下环境
系统 alpine_edge curl * Up to (excluding) 8.0.0-r0
运行在以下环境
系统 amazon_2 curl * Up to (excluding) 8.0.1-1.amzn2.0.1
运行在以下环境
系统 amazon_2023 curl * Up to (excluding) 8.0.1-1.amzn2023
运行在以下环境
系统 amazon_AMI curl * Up to (excluding) 7.61.1-12.104.amzn1
运行在以下环境
系统 debian_10 curl * Up to (including) 7.64.0-4+deb10u2
运行在以下环境
系统 debian_11 curl * Up to (excluding) 7.74.0-1.3+deb11u8
运行在以下环境
系统 debian_12 curl * Up to (excluding) 7.88.1-7
运行在以下环境
系统 debian_sid curl * Up to (excluding) 7.88.1-7
运行在以下环境
系统 fedora_36 curl * Up to (excluding) 7.82.0-14.fc36
运行在以下环境
系统 fedora_37 libcurl-debuginfo * Up to (excluding) 7.85.0-8.fc37
运行在以下环境
系统 fedora_38 libcurl-debuginfo * Up to (excluding) 7.87.0-7.fc38
运行在以下环境
系统 kylinos_aarch64_V10SP3 curl * Up to (excluding) 7.71.1-24.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP1 curl * Up to (excluding) 7.71.1-24.a.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP1 curl * Up to (excluding) 7.71.1-24.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP3 curl * Up to (excluding) 7.71.1-24.ky10
运行在以下环境
系统 opensuse_5.3 libcurl4 * Up to (excluding) 7.79.1-150400.5.18.1
运行在以下环境
系统 opensuse_Leap_15.4 libcurl4 * Up to (excluding) 7.79.1-150400.5.18.1
运行在以下环境
系统 suse_12_SP5 curl * Up to (excluding) 7.60.0-11.60.1
运行在以下环境
系统 ubuntu_18.04 curl * Up to (excluding) 7.58.0-2ubuntu3.24
运行在以下环境
系统 ubuntu_20.04 curl * Up to (excluding) 7.68.0-1ubuntu2.18
运行在以下环境
系统 ubuntu_22.04 curl * Up to (excluding) 7.81.0-1ubuntu1.10
运行在以下环境
系统 ubuntu_22.10 curl * Up to (excluding) 7.85.0-1ubuntu0.5
运行在以下环境
系统 unionos_e curl * Up to (excluding) curl-7.71.1-24.up3.uel20
阿里云评分 6.6
  • 攻击路径 本地
  • 攻击复杂度 容易
  • 权限要求 普通权限
  • 影响范围 全局影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 数据泄露
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-22 对路径名的限制不恰当(路径遍历)
- 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