GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - R0rt1z2/TimeoutPDoS: PDoS using race condition in ActivityManager's CoreSettingsObserver

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

PDoS via race condition in CoreSettingsObserver

This repository contains an exploit demonstrating a Permanent Denial of Service (PDoS) condition on Android, specifically within the CoreSettingsObserver of the ActivityManager. The vulnerability was initially reported to Google in February 2023.

Description

This vulnerability arises from a race condition that occurs when two specific configurations (multi_press_timeout and long_press_timeout) in the system's secure settings are changed in sequence. A malicious application with the WRITE_SECURE_SETTINGS permission, or an ADB session with the same permission, can trigger this condition. The PDoS manifests as a device bootloop from which recovery is not possible, even with ADB. The only solution is to format the device, leading to permanent data loss.

Reproduction

As previously said, the exploit involves making two configuration changes in the system secure table. The first two changes are based on valid values, which cause the system to schedule a write operation 200ms later. The exploit then waits 200ms and updates the two entries again with malicious non-integer values just before the write operation is executed. As soon as the malicious values are injected, ActivityManager crashes and the phone enters a permanent bootlop cycle.

Lifecycle

  • Feb 23, 2023 (06:22PM) - Initial report sent to Google.
  • Mar 6, 2023 (08:39PM) - Bug marked as Moderate.
  • Mar 13, 2023 (10:09PM) - Bug marked as WONTFIX.

About

PDoS using race condition in ActivityManager's CoreSettingsObserver

Topics

androidcvejavapdos

Resources

Readme
Activity

Stars

11 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.