低危 文件添加到带有Phar :: buildFromIterator的tar具有完全访问权限
CVE编号
CVE-2020-7063利用情况
暂无补丁情况
官方补丁披露时间
2020-02-28漏洞描述
在7.2.28以下的PHP版本7.2.x、7.3.15以下的7.3.x和7.4.3以下的7.4.x中,当使用Phar数据:Build From Iterator()函数创建PHAR存档时,即使文件系统上的原始文件具有更所有访问),即使文件系统上的原始文件具有更严格的权限。 这可能导致文件具有比提取此存档时预期的更宽松的权限。解决建议
厂商已发布了漏洞修复程序,请及时关注更新:https://bugs.php.net/bug.php?id=79082受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | php | php | * | From (including) 7.2.0 | Up to (including) 7.2.27 | ||||
运行在以下环境 | |||||||||
应用 | php | php | * | From (including) 7.3.0 | Up to (including) 7.3.14 | ||||
运行在以下环境 | |||||||||
应用 | php | php | * | From (including) 7.4.0 | Up to (including) 7.4.2 | ||||
运行在以下环境 | |||||||||
系统 | alpine_3.11 | php7 | * | Up to (excluding) 7.3.15-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.12 | php7 | * | Up to (excluding) 7.3.15-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.13 | php7 | * | Up to (excluding) 7.3.15-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.14 | php7 | * | Up to (excluding) 7.3.15-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | php7 | * | Up to (excluding) 7.3.15-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.9 | php7 | * | Up to (excluding) 7.2.31-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | php7 | * | Up to (excluding) 7.3.15-r0 | |||||
运行在以下环境 | |||||||||
系统 | amazon_AMI | php73 | * | Up to (excluding) 7.2.28-1.21.amzn1 | |||||
运行在以下环境 | |||||||||
系统 | anolis_os_8 | php-pecl-rrd | * | Up to (excluding) 7.3.20-1 | |||||
运行在以下环境 | |||||||||
系统 | anolis_os_8.2 | php-recode | * | Up to (excluding) 7.3.20-1 | |||||
运行在以下环境 | |||||||||
系统 | centos_8 | php-gmp-debuginfo | * | Up to (excluding) 7.3.20-1.module+el8.2.0+7373+b272fdef | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | php7.3 | * | Up to (excluding) 7.3.19-1~deb10u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | php7.4 | * | Up to (excluding) 7.4.3-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 | php-enchant | * | Up to (excluding) 7.3.15-1.fc30 | |||||
运行在以下环境 | |||||||||
系统 | fedora_31 | php-enchant | * | Up to (excluding) 7.3.15-1.fc31 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.1 | php7-bz2 | * | Up to (excluding) 7.2.5-lp151.6.22.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.4 | php7-wddx | * | Up to (excluding) 7.2.34-150000.4.103.1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_8 | oraclelinux-release | * | Up to (excluding) 7.3.20-1.module+el8.2.0+7784+4033621d | |||||
运行在以下环境 | |||||||||
系统 | redhat_8 | php-gmp-debuginfo | * | Up to (excluding) 7.3.20-1.module+el8.2.0+7373+b272fdef | |||||
运行在以下环境 | |||||||||
系统 | suse_12 | apache2-mod_php5 | * | Up to (excluding) 5.5.14-109.71 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04 | php7.0 | * | Up to (excluding) 7.0.33-0ubuntu0.16.04.14 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04.7_lts | 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_18.04.5_lts | php7.2 | * | Up to (excluding) 7.2.24-0ubuntu0.18.04.4 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 100
CWE-ID | 漏洞类型 |
CWE-281 | 权限预留不恰当 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论