Giter Site home page Giter Site logo

supersonic / cve-2022-20494 Goto Github PK

View Code? Open in Web Editor NEW
23.0 1.0 6.0 116 KB

Exploit app for CVE-2022-20494, a high severity permanent denial-of-service vulnerability that leverages Android's DND (Do not disturb) feature

License: GNU General Public License v3.0

Kotlin 100.00%

cve-2022-20494's Introduction

CVE-2022-20494

Download as APK

This app demonstrates a high severity permanent denial-of-service vulnerability in Android's NotificationManagerService that I discovered. After running the exploit, the device show a black screen or it will keep repeatedly crashing and rebooting.

It exploits the addAutomaticZenRule API to exhaust device memory, by crafting malicious zen rules (a.k.a. do not disturb rules) that occupy a large amount of memory. The app allows you to control the size and the amount of rules added: the predefined amount should work in almost all devices.

The app targets API 24 (Android 7.0 Nougat) but may not work in devices prior to Android Q, due to changes to the zen rule structure. It also requires the dangerous-level permission ACCESS_NOTIFICATION_POLICY to work; the app will request it upon launch.

The vulnerability was fixed - along with many other bugs in the same subsystem - in Jan 2023 Android Security Bulletin by trimming long strings within AutomaticZenRule constructors. (both normal and parcel serialization related constructors)

If you have ADB access, devices bricked due to this bug may potentially be recovered by running the following ADB command.

adb uninstall me.sithi.cve_2022_20494

Note that this project is provided for educational purposes only; please don't use it for malicious activities.

cve-2022-20494's People

Contributors

supersonic avatar

Stargazers

 avatar  avatar  avatar 5l1v3r1 avatar sensarliar avatar 10cks avatar Gamous avatar Elias Dimopoulos avatar Andrea avatar wr3cckl3ss avatar nullfuzz avatar Toni Puhakka avatar ooo avatar  avatar  avatar Yayo avatar  avatar vishnummv avatar jingyuexing avatar Tri Wanda Septian avatar 突突兔 avatar Roger Ortiz avatar  avatar

Watchers

 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.