CVE-2023-35683 SQL injection in Android

Medium 5.5 Published Updated

A SQL injection vulnerability in Android's DatabaseUtils allows local attackers to access files from other applications, leading to information disclosure.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-35683?

CVE-2023-35683 is a medium-severity SQL injection vulnerability in Google Android, published on 11 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In bindSelection of DatabaseUtils.java, there is a possible way to access files from other applications due to SQL injection. This could lead to local information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.

Weakness: CWE-89

Which versions are affected by CVE-2023-35683?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2023-35683?

Apply the vendor's patch.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2023-35683 being exploited?

There is no known exploitation of CVE-2023-35683 in the wild and no public exploit code.

All Google Android vulnerabilities

Sources

Also known as A-223793631, ASB-A-223793631, GHSA-vw4h-xj63-q683, UBUNTU-CVE-2023-35683.

Is CVE-2023-35683 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free