CVE-2022-20112: Arbitrary Modification of Malicious Private DNS in Guest Mode in platform/packages/apps/Settings

Summary

01/05/2022
Yes i
High
Not published

CVE-2022-20112: In getAvailabilityStatus of PrivateDnsPreferenceController.java, there is a possible way for a guest user to change private DNS settings due to a permissions bypass. Affects platform/packages/apps/Settings across 4 version ranges.

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

Fixed in 10:2022-05-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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The platform/packages/apps/Settings package is a part of the Android ecosystem and is responsible for managing various settings on an Android device. It provides a user interface for users to configure system preferences, including network settings, display settings, and more. This package is present in Android versions 10, 11, 12, and 12L. The vulnerability described in this report allows a guest user to modify private DNS settings, bypassing the necessary permissions.

Vulnerability Detail

The vulnerability exists in the getAvailabilityStatus function of the PrivateDnsPreferenceController.java file. It allows a guest user to change private DNS settings without the required permissions. This can lead to a local privilege escalation attack, where the guest user gains elevated privileges without any additional execution privileges. Exploitation of this vulnerability does not require user interaction. The impact of this vulnerability is significant as it allows unauthorized modification of private DNS settings, potentially leading to DNS hijacking or other malicious activities.

How To Fix

Minimum fixed version

10:2022-05-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

No workaround has been provided for this vulnerability.

Conclusion

In conclusion, the platform/packages/apps/Settings package in Android versions 10, 11, 12, and 12L is vulnerable to an arbitrary modification of malicious private DNS in guest mode. This vulnerability allows unauthorized users to change private DNS settings, potentially leading to DNS hijacking or other malicious activities. It is crucial to apply the provided fix and update the affected devices 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 a guest user to modify private DNS settings, potentially leading to DNS hijacking or other malicious activities.

This vulnerability affects Android versions 10, 11, 12, and 12L.

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

This vulnerability is classified as high severity.

The recommended mitigation is to apply the provided fix from the Android Open Source Project (AOSP) and update the affected Android devices to the fixed versions.

Related vulnerabilities

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

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

10:2022-05-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