Exploit database

Vulnerability

CVE-2025-32462

Vulnerability details

Score
2.8
Severity
low

CVSS 3.1 · mitre

Vector string

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N

Description

Sudo before 1.9.17p1, when used with a sudoers file that specifies a host that is neither the current host nor ALL, allows listed users to execute commands on unintended machines.

CVE Program

Exploit source choices

10 sources
Sudo Chroot 1.9.17 Privilege Escalation
MSF-linux--local--sudo_chroot_cve_2025_32463MetasploitLinux / remote

Sudo before version 1.19.17p1 allows user to use `chroot` option, when executing command. The option is intended to run a command with user-selected root directory (if sudoers file allow it). Change in version 1.9.14 allows resolving paths via `chroot` using user-specified root directory when sudoers is still evaluating. This allows the attacker to trick Sudo into loading arbitrary shared object, thus resulting in a privilege escalation.

2025-06-30sudo_chroot_cve_2025_32463.rb
cryingn/cve-2025-32462
GH-a36bc8f28c94e58dfcda5bb35060ad3dGitHubUnofficial GitHub source

A easy sudo poc by cryingn.

2025-07-035 files · 13 stars
0p5cur/cve-2025-32462-poc
GH-383c7da05b64843d3b458f1dc08c6c6fGitHubUnofficial GitHub source

🔓 Local privilege escalation PoC for CVE-2025-32462 (sudo -h bypass) – gain root via misconfigured sudoers

2025-07-043 files · 9 stars
maaythm/cve-2025-32462_32463-lab
GH-e60d8e2460d7bfc85a02b3cc51c628c9GitHubUnofficial GitHub source

Docker PoC for CVE-2025-32462 & CVE-2025-32463 (sudo), based on Stratascale CRU research.

2025-07-074 files · 5 stars
spongebob-369/cve-2025-32462
GH-46c293b05fcb16ddc43e09c2b373647fGitHubUnofficial GitHub source

cve-2025-32462' demo

2025-07-054 files · 3 stars
j3r1ch0123/cve-2025-32462
GH-956f832975b3790f57fb1ccd5469e805GitHubUnofficial GitHub source

The vulnerability was found by Rich Mirch. More details on it here: https://cxsecurity.com/issue/WLB-2025070022

2025-07-282 files · 1 stars
ceraz02/cve-2025-32462-analysis
GH-8f510136d2fdce32da809aff58a6c760GitHubUnofficial GitHub source

Privilege-escalation analysis of CVE-2025-32462 in sudo, with a Docker-based exploit demo

2026-11-1815 files · 0 stars