CVE-2022-20353: Privilege Escalation in com.android.settings.DefaultRingtonePreference and com.android.dialer.app.settings.DefaultRingtonePreference
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.
References
Related vulnerabilities
Recent vulnerabilities recorded for platform/packages/apps/Settings.