r4j0x00 / exploits

BSD 2-Clause "Simplified" License
2.49k stars 692 forks source link

Can't make Sudo exploit working on Ubuntu 18.04, Sudo 1.8.21p2 #9

Closed jbourdale closed 3 years ago

jbourdale commented 3 years ago

Hello,

I'm trying to execute the CVE-2021-3156 exploit and can't succed to it.

I'm getting a lot of "sudoedit: [...] : editing files in a writable directory is not permitted"

image image image

Have you any clue why it's not working here ?

Thanks

r4j0x00 commented 3 years ago

Try the oneshot exploit

jbourdale commented 3 years ago

I got the #5 error, running ubuntu in vagrant I guess. Thanks for the reply