Skip to content

antx-code/CVE-2022-0847

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CVE-2022-0847


Description

  • POC for CVE-2022-0847: Linux Kernel Local Privilege Escalation Vulnerability.
  • create by antx at 2022-03-08.

Detail

  • Security researcher Max Kellermann responsibly disclosed the ‘Dirty Pipe’ vulnerability and stated that it affects Linux Kernel 5.8 and later versions, even on Android devices.
  • A vulnerability in the Linux kernel since 5.8 which allows overwriting data in arbitrary read-only files. This leads to privilege escalation because unprivileged processes can inject code into root processes.
  • A flaw was found in the way the “flags” member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe and push_pipe functions in the Linux kernel and could thus contain stale values. An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files and as such escalate their privileges on the system. This flaw affects Linux kernel versions prior to 5.17-rc6.
  • It is similar to CVE-2016-5195 “Dirty Cow”, but is easier to exploit.
  • The vulnerability was fixed in Linux 5.16.11, 5.15.25 and 5.10.102.

CVE Severity

  • attackComplexity: LOW
  • attackVector: LOCAL
  • availabilityImpact: -
  • confidentialityImpact: -
  • integrityImpact: HIGH
  • privilegesRequired: -
  • scope: -
  • userInteraction: -
  • version: 3.1
  • baseScore: -
  • baseSeverity: -

Affect

  • Linux Kernel 5.8 and later versions, even on Android devices

POC


Reference

About

Linux Kernel Local Privilege Escalation Vulnerability CVE-2022-0847.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published