严重 php < 7.1.32 PHP-FPM缺陷配置远程代码执行漏洞CVE-2019-11043
CVE编号
CVE-2019-11043利用情况
EXP 已公开补丁情况
官方补丁披露时间
2019-10-29漏洞描述
在某些FPM设置配置中,低于7.1.33的PHP版本7.1.x,低于7.2.24的7.2.x和低于7.3.11的7.3.x可能会导致FPM模块将过去分配的缓冲区写入保留给FCGI的空间中协议数据,从而打开了远程执行代码的可能性。解决建议
1、在nginx配置中,删除上文中的类似错误配置;2、修改nginx配置中fastcgi_split_path_info参数的正则表达式;3、打上官方发布的漏洞补丁:https://bugs.php.net/bug.php?id=78599受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | php | php | * | From (including) 7.1.0 | Up to (excluding) 7.1.33 | ||||
运行在以下环境 | |||||||||
应用 | php | php | * | From (including) 7.2.0 | Up to (excluding) 7.2.24 | ||||
运行在以下环境 | |||||||||
应用 | php | php | * | From (including) 7.3.0 | Up to (excluding) 7.3.11 | ||||
运行在以下环境 | |||||||||
系统 | alibaba_cloud_linux_2.1903 | php-odbc | * | Up to (excluding) 5.4.16-46.1.1.al7 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.10 | php7 | * | Up to (excluding) 7.3.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.11 | php7 | * | Up to (excluding) 7.3.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.12 | php7 | * | Up to (excluding) 7.3.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.13 | php7 | * | Up to (excluding) 7.3.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.14 | php7 | * | Up to (excluding) 7.3.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | php7 | * | Up to (excluding) 7.3.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.7 | php7 | * | Up to (excluding) 7.1.33-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.8 | php7 | * | Up to (excluding) 7.2.24-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.9 | php7 | * | Up to (excluding) 7.2.24-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | php7 | * | Up to (excluding) 7.3.11-r0 | |||||
运行在以下环境 | |||||||||
系统 | amazon_2 | php | * | Up to (excluding) 5.4.16-46.amzn2.0.2 | |||||
运行在以下环境 | |||||||||
系统 | amazon_AMI | php71 | * | Up to (excluding) 5.6.40-1.143.amzn1 | |||||
运行在以下环境 | |||||||||
系统 | centos_6 | php-pdo | * | Up to (excluding) 5.3.3-50.el6_10 | |||||
运行在以下环境 | |||||||||
系统 | centos_7 | php | * | Up to (excluding) 5.4.16-46.1.el7_7 | |||||
运行在以下环境 | |||||||||
系统 | centos_8 | php-gmp-debuginfo | * | Up to (excluding) 7.2.11-4.module+el8.1.0+4555+f5cb8e18 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | php7.3 | * | Up to (excluding) 7.3.11-1~deb10u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_8 | php5 | * | Up to (excluding) 5.6.20+dfsg-0+deb8u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | php7.0 | * | Up to (excluding) 7.0.33-0+deb9u6 | |||||
运行在以下环境 | |||||||||
系统 | fedora_29 | php-enchant | * | Up to (excluding) 7.2.24-1.fc29 | |||||
运行在以下环境 | |||||||||
系统 | fedora_30 | php-enchant | * | Up to (excluding) 7.3.11-1.fc30 | |||||
运行在以下环境 | |||||||||
系统 | fedora_31 | php-enchant | * | Up to (excluding) 7.3.11-1.fc31 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.0 | php7-zip | * | Up to (excluding) 7.2.5-lp150.2.29.2 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.1 | php7-zip | * | Up to (excluding) 7.2.5-lp151.6.13.1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_6 | oraclelinux-release | * | Up to (excluding) 5.3.3-50.el6_10 | |||||
运行在以下环境 | |||||||||
系统 | oracle_7 | oraclelinux-release | * | Up to (excluding) 5.4.16-46.1.el7_7 | |||||
运行在以下环境 | |||||||||
系统 | oracle_8 | oraclelinux-release | * | Up to (excluding) 7.2.11-4.module+el8.1.0+5443+bc1aeb77 | |||||
运行在以下环境 | |||||||||
系统 | redhat_6 | php | * | Up to (excluding) 0:5.3.3-50.el6_10 | |||||
运行在以下环境 | |||||||||
系统 | redhat_7 | php | * | Up to (excluding) 5.4.16-46.1.el7_7 | |||||
运行在以下环境 | |||||||||
系统 | redhat_8 | php-gmp-debuginfo | * | Up to (excluding) 7.3.5-5.module+el8.1.0+4560+e0eee7d6 | |||||
运行在以下环境 | |||||||||
系统 | suse_12 | apache2-mod_php5 | * | Up to (excluding) 5.5.14-109.68 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04 | php7.0 | * | Up to (excluding) 7.0.33-0ubuntu0.16.04.7 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04.7_lts | php7.0 | * | Up to (excluding) 7.0.33-0ubuntu0.16.04.7 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04 | php7.2 | * | Up to (excluding) 7.2.24-0ubuntu0.18.04.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04.5_lts | php7.2 | * | Up to (excluding) 7.2.24-0ubuntu0.18.04.1 | |||||
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 无需权限
- 影响范围 全局影响
- EXP成熟度 EXP 已公开
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 传输被破坏
- 服务器危害 服务器失陷
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-787 | 跨界内存写 |
Exp相关链接
- https://github.com//neex/phuip-fpizdam
- https://github.com/0th3rs-Security-Team/CVE-2019-11043
- https://github.com/akamajoris/CVE-2019-11043-Docker
- https://github.com/AleWong/PHP-FPM-Remote-Code-Execution-Vulnerability-CVE-2019-11043-
- https://github.com/alokaranasinghe/cve-2019-11043
- https://github.com/B1gd0g/CVE-2019-11043
- https://github.com/corifeo/CVE-2019-11043
- https://github.com/fairyming/CVE-2019-11043
- https://github.com/huowen/CVE-2019-11043
- https://github.com/ianxtianxt/CVE-2019-11043
- https://github.com/jas502n/CVE-2019-11043
- https://github.com/k8gege/CVE-2019-11043
- https://github.com/kriskhub/CVE-2019-11043
- https://github.com/lindemer/CVE-2019-11043
- https://github.com/moniik/CVE-2019-11043_env
- https://github.com/MRdoulestar/CVE-2019-11043
- https://github.com/neex/phuip-fpizdam
- https://github.com/shadow-horse/cve-2019-11043
- https://github.com/theMiddleBlue/CVE-2019-11043
- https://github.com/tinker-li/CVE-2019-11043
- https://github.com/vulhub/vulhub/tree/master/php/CVE-2019-11043
- https://github.com/ypereirareis/docker-CVE-2019-11043
- https://gitlab.com/yangsec888/phuip-fpizdam
- https://raw.githubusercontent.com/jaeles-project/jaeles-signatures/master/cves/php-rce-cve-2019-11043.yaml
- https://raw.githubusercontent.com/jaeles-project/jaeles-signatures/master/cves/php7-rce-cve-2019-11043.yaml
- https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/CVE-2019-11043.yaml
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/php_fpm_rce.rb
- https://www.exploit-db.com/exploits/47553
- https://www.exploit-db.com/exploits/48182

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