POC详情: c243360ad03c6f5c562973833f91ca0840eff426

来源
关联漏洞
标题: Sudo 安全漏洞 (CVE-2025-32463)
描述:Sudo是一款使用于类Unix系统的,允许用户通过安全的方式使用特殊的权限执行命令的程序。 Sudo 1.9.17p1之前版本存在安全漏洞,该漏洞源于使用用户控制目录中的/etc/nsswitch.conf可能导致获取root访问权限。
介绍
# CVE-2025-32463 POC (Proof-of-concept) exploit

CVE-2025-32463 (CVSS 7.8) is a local privilege escalation vulnerability, introduced in sudo 1.9.14 and present through 1.9.17. The issue allows a local user to run arbitrary commands as root by using sudo’s -R / –chroot option to cause sudo to load attacker-controlled NSS modules from inside a user-supplied chroot environment.

## Quick vulnerability check
```bash
# Vulnerable sudo:
user@debian: sudo -R shaolin shaolin
sudo: shaolin: No such file or directory

# Patched sudo:
user@debian: sudo -R shaolin shaolin
[sudo] password for user:
sudo: you are not permitted to use the -R option with shaolin
```


## Usage
```bash
user@debian: git clone https://github.com/cybershaolin47/CVE-2025-32463_POC

user@debian: cd CVE-2025-32463_POC

user@debian: chmod +x privesc.sh

user@debian: ./privesc.sh
```

## GCC is required for the exploit!
<img width="425" height="264" alt="image" src="https://github.com/user-attachments/assets/b5114074-11e6-4db3-bebe-a417d7320933" />

## For further information check the following links:
- https://www.stratascale.com/vulnerability-alert-CVE-2025-32463-sudo-chroot

- https://socradar.io/cve-2025-32463-sudo-privilege-escalation-flaw-exploited-cisa/

- https://www.upwind.io/feed/cve%E2%80%912025%E2%80%9132463-critical-sudo-chroot-privilege-escalation-flaw

文件快照

[4.0K] /data/pocs/c243360ad03c6f5c562973833f91ca0840eff426 ├── [ 184] exp.c ├── [ 445] privesc.sh └── [1.3K] README.md 0 directories, 3 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。