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.
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_32463msf undefined(sudo_chroot_cve_2025_32463) > show actions ...actions...msf undefined(sudo_chroot_cve_2025_32463) > set ACTION < action-name >msf undefined(sudo_chroot_cve_2025_32463) > show options ...show and set options...msf undefined(sudo_chroot_cve_2025_32463) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub