Kwetsbaarheid in sudo

Een fout in sudo stelt de root-gebruiker in staat om elk uitvoerbaar bestand uit te voeren, mits het in /etc/sudoers is toegestaan voor andere gebruikers en voor root is verboden.

De exploitatie van de fout is heel eenvoudig:

sudo -u#-1 id -u

of:

sudo -u#4294967295 id -u

De fout is aanwezig in alle versies van sudo tot 1.8.28

Details:

https://thehackernews.com/2019/10/linux-sudo-run-as-root-flaw.html


https://www.sudo.ws/alerts/minus_1_uid.html

Bron: linux.org.ru

Koop betrouwbare webhosting met bescherming tegen DDoS, VPS VDS servers šŸ”„ Koop betrouwbare webhosting met bescherming tegen DDoS, VPS VDS servers | ProHoster