低危 curl none文件名cookie注入漏洞

CVE编号

CVE-2023-38546

利用情况

POC 已公开

补丁情况

官方补丁

披露时间

2023-10-11
漏洞描述
该漏洞可导致攻击者在正在运行的libcurl程序注入任意cookie值。

libcurl 提供了一个函数调用,该函数调用复制一个名为curl_easy_duphandle的简单句柄。如果在复制句柄时传输启用了 cookie,则也会克隆 cookie 启用状态 - 但不会克隆实际的 cookie。如果源句柄未从磁盘上的特定文件读取任何 cookie,则句柄的克隆版本会将文件名存储为none(使用四个 ASCII 字母,不带引号)。
解决建议
libcurl < 7.9.1 和 >= 8.4.0不受漏洞影响。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 haxx libcurl * From
(including)
7.9.1
Up to
(excluding)
8.4.0
运行在以下环境
系统 alibaba_cloud_linux_3 curl * Up to
(excluding)
7.61.1-34.0.1.al8
运行在以下环境
系统 alma_linux_9 curl * Up to
(excluding)
7.76.1-26.el9_3.2
运行在以下环境
系统 alpine_3.15 curl * Up to
(excluding)
8.4.0-r0
运行在以下环境
系统 alpine_3.16 curl * Up to
(excluding)
8.4.0-r0
运行在以下环境
系统 alpine_3.17 curl * Up to
(excluding)
8.4.0-r0
运行在以下环境
系统 alpine_3.18 curl * Up to
(excluding)
8.4.0-r0
运行在以下环境
系统 alpine_3.19 curl * Up to
(excluding)
8.4.0-r0
运行在以下环境
系统 amazon_2 curl * Up to
(excluding)
8.3.0-1.amzn2.0.4
运行在以下环境
系统 amazon_2023 curl * Up to
(excluding)
8.3.0-1.amzn2023.0.2
运行在以下环境
系统 anolis_os_23 curl * Up to
(excluding)
8.4.0-1
运行在以下环境
系统 anolis_os_8 curl * Up to
(excluding)
7.61.1-34.0.1
运行在以下环境
系统 debian_10 curl * Up to
(excluding)
7.64.0-4+deb10u7
运行在以下环境
系统 debian_11 curl * Up to
(excluding)
7.74.0-1.3+deb11u10
运行在以下环境
系统 debian_12 curl * Up to
(excluding)
7.88.1-10+deb12u4
运行在以下环境
系统 fedora_37 curl * Up to
(excluding)
7.85.0-12.fc37
运行在以下环境
系统 fedora_38 curl * Up to
(excluding)
8.0.1-5.fc38
运行在以下环境
系统 fedora_39 curl * Up to
(excluding)
8.2.1-3.fc39
运行在以下环境
系统 kylinos_aarch64_V10 curl * Up to
(excluding)
7.71.1-31.ky10
运行在以下环境
系统 kylinos_aarch64_V10HPC curl * Up to
(excluding)
7.79.1-24.ky10h
运行在以下环境
系统 kylinos_aarch64_V10SP1 curl * Up to
(excluding)
7.71.1-31.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP2 curl * Up to
(excluding)
7.71.1-31.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP3 curl * Up to
(excluding)
7.71.1-31.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP1 curl * Up to
(excluding)
7.71.1-31.a.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP3 curl * Up to
(excluding)
7.71.1-31.a.ky10
运行在以下环境
系统 kylinos_x86_64_V10 curl * Up to
(excluding)
7.71.1-31.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP1 curl * Up to
(excluding)
7.71.1-31.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 curl * Up to
(excluding)
7.71.1-31.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP3 curl * Up to
(excluding)
7.71.1-31.ky10
运行在以下环境
系统 opensuse_Leap_15.4 curl * Up to
(excluding)
8.0.1-150400.5.32.1
运行在以下环境
系统 opensuse_Leap_15.5 curl * Up to
(excluding)
8.0.1-150400.5.32.1
运行在以下环境
系统 oracle_9 curl * Up to
(excluding)
7.76.1-23.el9_2.4
运行在以下环境
系统 redhat_9 curl * Up to
(excluding)
7.76.1-26.el9_3.2
运行在以下环境
系统 rocky_linux_9 curl * Up to
(excluding)
7.76.1-23.el9_2.4
运行在以下环境
系统 suse_12_SP5 curl * Up to
(excluding)
8.0.1-11.74.1
运行在以下环境
系统 ubuntu_20.04 curl * Up to
(excluding)
7.68.0-1ubuntu2.20
运行在以下环境
系统 ubuntu_22.04 curl * Up to
(excluding)
7.81.0-1ubuntu1.14
阿里云评分
3.7
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    POC 已公开
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100000+
CWE-ID 漏洞类型
CWE-73 文件名或路径的外部可控制
NVD-CWE-noinfo
阿里云安全产品覆盖情况