
CVE-2022-0847 POC
CVE-2022-0847 POC - https://dirtypipe.cm4all.com/
Этот эксплойт пытается использовать уязвимость CVE-2022-0847 для перезаписи файла, доступного только для чтения.
При запуске make exploit будет выполнено следующее:
read_only_file.txtdirtypipe.dirtypipe.Вы можете определить, уязвима ли ваша система, по выводу команды make exploit:
foo@bar:~$ make exploit # vulnerable
[*] Creating read_only_file.txt...
[*] Press any key to continue...
[*] Running exploit...
[*] Exploit was successful!
foo@bar:~$ make exploit # not vulnerable
[*] Creating read_only_file.txt...
[*] Press any key to continue...
[*] Running exploit...
[!] Exploit was not successful!
foo@bar:~$ cd /tmp # We don't need to keep these files.
foo@bar:~$ git clone https://github.com/breachnix/dirty-pipe-poc && cd dirty-pipe-poc
foo@bar:~$ make && make exploit # make & cc will need to be installed.
Эта уязвимость затрагивает любые версии ядра выше 5.8, но ниже 5.16.11, 5.15.25 или 5.10.102.
Вы можете определить версию ядра, выполнив uname -sr:
foo@bar:~$ uname -sr
Linux 5.10.0-12-amd64