cliffe / SecGen

Create randomly insecure VMs
GNU General Public License v3.0
2.64k stars 318 forks source link

Add sudobypass exploit #306

Closed JD2344 closed 8 months ago

JD2344 commented 9 months ago

Sudo has a bypass before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, and can cause incorrect logging, by invoking sudo with a crafted user ID. For example, this allows bypass of !root configuration, and USER= logging, for a "sudo -u #$((0xffffffff))" command.

This covers the install process. It adds capabilities for all Users in the system being able to perform this exploit.

cliffe commented 8 months ago

Great :)