
CVE-2022-0847 PoC
CVE-2022-0847 POC - https://dirtypipe.cm4all.com/
Dieser Exploit versucht, die Schwachstelle CVE-2022-0847 zu nutzen, um eine schreibgeschützte Datei zu überschreiben.
Wenn make exploit ausgeführt wird, werden folgende Schritte durchgeführt:
read_only_file.txt erstellen.dirtypipe-Exploit ausführen.dirtypipe-Exploit erfolgreich war.Du kannst feststellen, ob dein System anfällig ist, anhand der Ausgabe von 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.
Diese Sicherheitslücke betrifft alle Kernelversionen höher als 5.8 aber niedriger als 5.16.11, 5.15.25 oder 5.10.102.
Du kannst deine Kernelversion durch Ausführen von uname -sr ermitteln:
foo@bar:~$ uname -sr
Linux 5.10.0-12-amd64