Pwnkit: CVE-2021-4034
THM Room https://tryhackme.com/room/pwnkit
-
Deploy the machine by clicking on the green "Deploy" button at the top of this task!
No Answer
-
Is Pwnkit exploitable remotely (Aye/Nay)?
Answer : NAY
-
In which Polkit utility does the Pwnkit vulnerability reside?
Answer : pkexec
-
Read through the cve-2021-4034-poc.c file and try to understand how it works. See if you can match this up with the Qualys security advisory and the explanation given in the previous task!
No Answer.
-
Exploit the vulnerability!
What is the flag located at /root/flag.txt?
Answer : THM{CONGRATULATIONS-YOU-EXPLOITED-PWNKIT}
-
[Bonus Question — Optional] Using the Qualys advisory and the repository linked in the task, try to write your own version of the Pwnkit exploit.
No Answer.
-
Read the remediations task
No Answer.
-
Patch the vulnerability on any Linux devices that you manage!
No Answer.
-
I understand and can use Pwnkit!
No Answer