Coder Social home page Coder Social logo

muhammadfarras / cve-2022-0847 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antx-code/cve-2022-0847

0.0 0.0 0.0 11 KB

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

License: GNU General Public License v2.0

C 99.23% Shell 0.77%

cve-2022-0847's Introduction

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

cve-2022-0847's People

Contributors

antx-code avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.