中危 CVE-2023-27535:FTP连接重用

CVE编号

CVE-2023-27535

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-03-20
漏洞描述
即使更改了一个或多个选项,libcurl也会重用以前创建的FTP连接,这可能会使有效用户变得非常不同,从而导致使用错误的凭据进行第二次传输。
libcurl将以前使用的连接保存在连接池中,以便在其中一个连接与设置匹配时重用后续传输。然而,配置匹配检查中遗漏了几个FTP设置,使得它们太容易匹配。问题中的设置为CURLOPT_FTP_ACCOUNT、CURLOPT-FTP_ALTERNATIVE_TO_USER、CURLOPT_FTP_SSL_CCC和CURLOPT_USE_SSL级别。
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 haxx libcurl * From
(including)
7.13.0
Up to
(including)
7.88.1
运行在以下环境
系统 alibaba_cloud_linux_3 curl * Up to
(excluding)
7.61.1-30.0.2.al8.2
运行在以下环境
系统 alma_linux_8 curl * Up to
(excluding)
7.61.1-30.el8_8.2
运行在以下环境
系统 alma_linux_9 curl * Up to
(excluding)
7.76.1-23.el9_2.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_3.19 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.105.amzn1
运行在以下环境
系统 anolis_os_8 curl * Up to
(excluding)
7.61.1-30.0.2
运行在以下环境
系统 debian_10 curl * Up to
(excluding)
7.64.0-4+deb10u6
运行在以下环境
系统 debian_11 curl * Up to
(excluding)
7.74.0-1.3+deb11u8
运行在以下环境
系统 debian_12 curl * Up to
(excluding)
7.88.1-7
运行在以下环境
系统 fedoraproject fedora 36 -
运行在以下环境
系统 fedora_36 curl * Up to
(excluding)
7.82.0-14.fc36
运行在以下环境
系统 fedora_37 curl * Up to
(excluding)
7.85.0-8.fc37
运行在以下环境
系统 fedora_38 curl * 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 curl * Up to
(excluding)
7.79.1-150400.5.18.1
运行在以下环境
系统 opensuse_Leap_15.4 curl * Up to
(excluding)
7.79.1-150400.5.18.1
运行在以下环境
系统 oracle_8 curl * Up to
(excluding)
7.61.1-30.el8_8.2
运行在以下环境
系统 oracle_9 curl * Up to
(excluding)
7.76.1-23.el9_2.1
运行在以下环境
系统 redhat_8 curl * Up to
(excluding)
7.61.1-30.el8_8.2
运行在以下环境
系统 redhat_9 curl * Up to
(excluding)
7.76.1-23.el9_2.1
运行在以下环境
系统 rocky_linux_8 curl * Up to
(excluding)
7.61.1-30.el8_8.2
运行在以下环境
系统 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
阿里云评分
6.2
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    越权影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-287 认证机制不恰当
CWE-305 使用基本弱点进行的认证绕过
阿里云安全产品覆盖情况