CVE-2022-20353: Privilege Escalation in com.android.settings.DefaultRingtonePreference and com.android.dialer.app.settings.DefaultRingtonePreference

Summary

01/08/2022
Yes i
High
Not published

CVE-2022-20353: In onSaveRingtone of DefaultRingtonePreference.java, there is a possible inappropriate file read due to improper input validation. Affects platform/packages/apps/Settings across 4 version ranges.

>= 10:0, < 10:2022-08-01 >= 11:0, < 11:2022-08-01 >= 12:0, < 12:2022-08-01 >= 12L:0, < 12L:2022-08-01

Fixed in 10:2022-08-01. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package under scrutiny is com.android.settings.DefaultRingtonePreference and com.android.dialer.app.settings.DefaultRingtonePreference. These packages are part of the Android ecosystem and are responsible for managing default ringtone preferences in the Settings and Dialer apps. The DefaultRingtonePreference class is used to handle user-selected ringtones and store the corresponding file path. This vulnerability affects Android versions 10, 11, 12, and 12L.

Vulnerability Detail

The vulnerability, identified as CVE-2022-20353, resides in the onSaveRingtone method of DefaultRingtonePreference.java. The issue stems from improper input validation, which can lead to an inappropriate file read. An attacker can exploit this vulnerability to gain unauthorized access to sensitive information stored in the ringtone file. The exploitation does not require any additional execution privileges or user interaction.

How To Fix

Minimum fixed version

10:2022-08-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is recommended to apply the official patches provided by the Android development team.

Conclusion

In conclusion, CVE-2022-20353 is a privilege escalation vulnerability in com.android.settings.DefaultRingtonePreference and com.android.dialer.app.settings.DefaultRingtonePreference. It allows an attacker to read sensitive information without requiring additional execution privileges or user interaction. The Android development team has released patches for the affected versions, and it is crucial to update the devices to the latest Android version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/packages/apps/Settings →

Share this vulnerability

FAQ

This vulnerability allows an attacker to read sensitive information stored in the ringtone file. However, it does not grant any additional execution privileges or require user interaction.

Android versions 10, 11, 12, and 12L are affected by this vulnerability.

No, user interaction is not needed for exploitation of this vulnerability.

There are no known instances of this vulnerability being exploited at the time of this report.

To protect your device, it is recommended to update to the latest Android version that includes the fix for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for platform/packages/apps/Settings.

How To Fix

Minimum fixed version

10:2022-08-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback