高危 Sudo 安全漏洞
CVE编号
CVE-2021-23240利用情况
暂无补丁情况
官方补丁披露时间
2021-01-12漏洞描述
selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local unprivileged user to gain file ownership and escalate privileges by replacing a temporary file with a symlink to an arbitrary file target. This affects SELinux RBAC support in permissive mode. Machines without SELinux are not vulnerable.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | sudo_project | sudo | * | Up to (excluding) 1.9.5 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.10 | sudo | * | Up to (excluding) 1.9.5p2-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.11 | sudo | * | Up to (excluding) 1.9.5p2-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.12 | sudo | * | Up to (excluding) 1.9.5-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.13 | sudo | * | Up to (excluding) 1.9.5-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.14 | sudo | * | Up to (excluding) 1.9.5-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | sudo | * | Up to (excluding) 1.9.5-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.16 | sudo | * | Up to (excluding) 1.9.5-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | sudo | * | Up to (excluding) 1.9.5-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | sudo | * | Up to (excluding) 1.9.5-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | sudo | * | Up to (excluding) 1.9.5-r0 | |||||
运行在以下环境 | |||||||||
系统 | centos_8 | sudo-debuginfo | * | Up to (excluding) 1.8.29-7.el8 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | sudo | * | Up to (including) 1.8.27-1+deb10u3 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | sudo | * | Up to (excluding) 1.9.5-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | sudo | * | Up to (excluding) 1.9.5-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | sudo | * | Up to (including) 1.8.19p1-2.1+deb9u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | sudo | * | Up to (excluding) 1.9.5-1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_32 | sudo-logsrvd-debuginfo | * | Up to (excluding) 1.9.5p1-1.fc32 | |||||
运行在以下环境 | |||||||||
系统 | fedora_33 | sudo-logsrvd-debuginfo | * | Up to (excluding) 1.9.5p1-1.fc33 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.1 | sudo | * | Up to (excluding) 1.8.22-lp151.5.12.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.2 | sudo | * | Up to (excluding) 1.8.22-lp152.8.6.1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_8 | oraclelinux-release | * | Up to (excluding) 1.8.29-7.el8 | |||||
运行在以下环境 | |||||||||
系统 | redhat_8 | sudo-debuginfo | * | Up to (excluding) 1.8.29-7.el8 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | sudo | * | Up to (excluding) 1.8.27-4.6.1 | |||||
- 攻击路径 本地
- 攻击复杂度 容易
- 权限要求 普通权限
- 影响范围 全局影响
- EXP成熟度 N/A
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 传输被破坏
- 服务器危害 服务器失陷
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-59 | 在文件访问前对链接解析不恰当(链接跟随) |
Exp相关链接

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