stong / cve-2021-3156 Goto Github PK
View Code? Open in Web Editor NEWPoC for CVE-2021-3156 (sudo heap overflow)
License: Other
PoC for CVE-2021-3156 (sudo heap overflow)
License: Other
I tried the exploit on several different old Centos. Sudo is vulnerable. Exploit fails
CentOS release 6.10 Linux version 2.6.32-696
Sudo version 1.8.6p3
Sudoers policy plugin version 1.8.6p3
Sudoers file grammar version 42
Sudoers I/O plugin version 1.8.6p3
ldd (GNU libc) 2.12
sudoedit -s /
sudoedit: /: not a regular file
if that C as a meme i guess he want work and i tested multiple time on ManjoroOS also on Debian XD
OS: Linux x64 5.8.11-1-MANJARO
Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
Ram : 8GiB
Hi guys,
As the subject stated, it is self-explanatory. I tried to modify the race sleep time to 1000000000000000 (and yes that is 15 zeros!) Ran the exploit again and it still created 5000 dir again and failed.
The Ubuntu version I have is 18.04.4 LTS. The other thing is that I tried to trial and error is that it goes </etc/passwd> <modifed passwd with uid 0> I am not sure how the exploit links to exploit.c. Changing the extension of exploit.c resulted that the exploit could still run. So I am not sure where the exploit gets the RST parameter value.
Thanks
Edited
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.