高危 php:函数get_headers中的信息泄漏漏洞

CVE编号

CVE-2020-7066

利用情况

POC 已公开

补丁情况

官方补丁

披露时间

2020-04-01
漏洞描述
在低于7.2.29的PHP版本7.2.x,低于7.3.16的7.3.x和低于7.4.4的7.4.x中,同时将get_headers()与用户提供的URL一起使用时,如果URL包含零(\0) 字符,则URL将被静默地截断。这可能会导致某些软件对get_headers()的目标做出错误的假设,并可能将某些信息发送到错误的服务器。

解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 php php * From
(including)
7.2.0
Up to
(excluding)
7.2.29
运行在以下环境
应用 php php * From
(including)
7.3.0
Up to
(excluding)
7.3.16
运行在以下环境
应用 php php * From
(including)
7.4.0
Up to
(excluding)
7.4.4
运行在以下环境
系统 alpine_3.11 php7 * Up to
(excluding)
7.3.16-r0
运行在以下环境
系统 alpine_3.12 php7 * Up to
(excluding)
7.3.16-r0
运行在以下环境
系统 alpine_3.13 php7 * Up to
(excluding)
7.3.16-r0
运行在以下环境
系统 alpine_3.14 php7 * Up to
(excluding)
7.3.16-r0
运行在以下环境
系统 alpine_3.15 php7 * Up to
(excluding)
7.3.16-r0
运行在以下环境
系统 alpine_3.9 php7 * Up to
(excluding)
7.2.31-r0
运行在以下环境
系统 amazon_AMI php72 * Up to
(excluding)
7.2.30-1.22.amzn1
运行在以下环境
系统 debian_10 php7.3 * Up to
(excluding)
7.3.19-1~deb10u1
运行在以下环境
系统 debian_11 php7.4 * Up to
(excluding)
7.4.5-1
运行在以下环境
系统 debian_8 php5 * Up to
(excluding)
5.6.20+dfsg-0+deb8u1
运行在以下环境
系统 debian_9 php7.0 * Up to
(excluding)
7.0.33-0+deb9u8
运行在以下环境
系统 fedora_30 ph * Up to
(excluding)
7.3.16-1.fc30
运行在以下环境
系统 fedora_31 ph * Up to
(excluding)
7.3.16-1.fc31
运行在以下环境
系统 fedora_32 ph * Up to
(excluding)
7.4.4-1.fc32
运行在以下环境
系统 opensuse_Leap_15.1 php7 * Up to
(excluding)
7.2.5-lp151.6.25.1
运行在以下环境
系统 opensuse_Leap_15.4 php7-wddx * Up to
(excluding)
7.2.34-150000.4.103.1
运行在以下环境
系统 ubuntu_16.04 php7.0 * Up to
(excluding)
7.0.33-0ubuntu0.16.04.14
运行在以下环境
系统 ubuntu_18.04 php7.2 * Up to
(excluding)
7.2.24-0ubuntu0.18.04.4
运行在以下环境
系统 ubuntu_20.04 php7.4 * Up to
(excluding)
7.4.3-4ubuntu1.1
阿里云评分
7.8
  • 攻击路径
    远程
  • 攻击复杂度
    容易
  • 权限要求
    无需权限
  • 影响范围
    全局影响
  • EXP成熟度
    POC 已公开
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    传输被破坏
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
NVD-CWE-Other
阿里云安全产品覆盖情况