中危 uWSGI PHP 目录遍历漏洞

CVE编号

CVE-2018-7490

利用情况

EXP 已公开

补丁情况

官方补丁

披露时间

2018-02-27
该漏洞EXP已公开传播,漏洞利用成本极低,建议您立即关注并修复。
漏洞描述
在使用-php-docroot选项期间,2.0.17之前的uWSGI错误地处理了DOCUMENT_ROOT检查,允许目录遍历。

解决建议
厂商已发布漏洞修复程序,请及时关注更新:
https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.17.html
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 unbit uwsgi * Up to
(excluding)
2.0.17
运行在以下环境
系统 alpine_3.4 uwsgi * Up to
(excluding)
2.0.17-r0
运行在以下环境
系统 alpine_3.5 uwsgi * Up to
(excluding)
2.0.17-r0
运行在以下环境
系统 alpine_3.6 uwsgi * Up to
(excluding)
2.0.17-r0
运行在以下环境
系统 alpine_3.7 uwsgi * Up to
(excluding)
2.0.17-r0
运行在以下环境
系统 debian_10 uwsgi * Up to
(excluding)
2.0.15-10.4
运行在以下环境
系统 debian_11 uwsgi * Up to
(excluding)
2.0.15-10.4
运行在以下环境
系统 debian_12 uwsgi * Up to
(excluding)
2.0.15-10.4
运行在以下环境
系统 fedora_27 uwsgi-plugin * Up to
(excluding)
2.0.17.1-1.fc27
运行在以下环境
系统 fedora_28 uwsgi-plugin * Up to
(excluding)
2.0.17.1-1.fc28
运行在以下环境
系统 fedora_EPEL_6 uwsgi * Up to
(excluding)
2.0.17.1-1.el6
运行在以下环境
系统 fedora_EPEL_7 uwsgi-plugin-ssi * Up to
(excluding)
2.0.17.1-1.el7
运行在以下环境
系统 ubuntu_14.04 uwsgi * Up to
(excluding)
1.9.17.1-5ubuntu0.1
运行在以下环境
系统 ubuntu_16.04 uwsgi * Up to
(excluding)
2.0.12-5ubuntu3.2
运行在以下环境
系统 ubuntu_18.04 uwsgi * Up to
(excluding)
2.0.15-10.2ubuntu2.1
阿里云评分
4.6
  • 攻击路径
    远程
  • 攻击复杂度
    容易
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    EXP 已公开
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    传输被破坏
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-22 对路径名的限制不恰当(路径遍历)
阿里云安全产品覆盖情况