module

Sudo Chroot 1.9.17 Privilege Escalation

Disclosed
Jun 30, 2025
Created
Sep 4, 2025

Description

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.

Authors

msutovsky-r7
Stratascale
Rich Mirch

Platform

Linux

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/linux/local/sudo_chroot_cve_2025_32463
msf exploit(sudo_chroot_cve_2025_32463) > show targets
...targets...
msf exploit(sudo_chroot_cve_2025_32463) > set TARGET < target-id >
msf exploit(sudo_chroot_cve_2025_32463) > show options
...show and set options...
msf exploit(sudo_chroot_cve_2025_32463) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.