A CVE-2021-3560 poc, easy to read and learn.
reference from POC by hakivvi. Thanks to hakivvi. He saved a lot of my time.
- compile the exploit:
$ gcc -g cve-2021-3560_poc.c -o cve-2021-3560 /usr/lib/x86_64-linux-gnu/libdbus-1.so /usr/lib/x86_64-linux-gnu/libz.so
- Simply Checking whether this machine is vulnerable.(for ubuntu)
$ ./cve-2021-3560 check
- run the exploit:
$ ./cve-2021-3560