/CVE-2022-0847

Modified dirtypipe script into auto root without have to search a file manually to hijack suid binary.

Primary LanguageC

CVE-2022-0847

Modified dirtypipe script into auto root without have to search a file manually to hijack suid binary.

Compile

  • gcc dirty.c -o dirty
  • gcc dirtypipe2.c -o dirty



Run

  • ./dirty
  • And you'll automatically rooted


Modified





Kernel affected

  • Kernel versions newer than 5.8 may affected
  • version 5.10
  • version 5.15
  • version 5.16