CVE-2026-28576 One Picked Contact, Every Contact—SQL Injecti... - #2889
Open
carlospolop wants to merge 1 commit into
Open
carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://github.com/mobilehackinglab/CVE-2026-28576-poc Content Categories: Based on the analysis, this content was categorized under "Mobile Pentesting > Android Applications Pentesting > content:// protocol, with a cross-reference from Drozer Tutorial > Exploiting Content Providers". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview, severity, and impact
CVE-2026-28576, also tracked as GHSA-ph86-9mcx-3p6r, is a high-severity SQL injection and information-disclosure vulnerability in Android 17's Contacts Provider, specifically
ContactsProvider2.queryLocal(). A zero-permission application can use the legitimate Android system contact picker to obtain a read-only URI grant for exactly one contact and then exploit S...🔧 Technical Details
Scoped URI grant used as an SQL-injection carrier: When a content provider correctly restricts a caller to a narrow, read-only URI but forwards caller-controlled
selectiontext into an SQL query, the URI-level permission boundary can remain intact while the SQL expression accesses data outside the granted row. An attacker needs only a legitimate scoped URI grant; direct access to other URIs can still fail withSecurityException.Target-SDK compat-gate bypass: Security validation that is enabled only for applications targeting a newer SDK leaves legacy-target applications on an older parsing path. In this case, a caller targeting SDK 36 or lower makes
CompatChanges.isChangeEnabled(ENFORCE_STRICT_SQL_CHECKS, callingUid)return false, preventingsetStrictColumns()andsetStrictGrammar()from running. Parenthesis wrapping fromsetStrict(true)defeats simple payloads such...🤖 Agent Actions
Implemented the HackTricks update.
Changes
src/mobile-pentesting/android-app-pentesting/content-protocol.mdtargetSdkVersioncompat-gate bypassdrozer-tutorial/exploiting-content-providers.mdValidation
git diff --checkpassed.mdbookwas unavailable in the environment, so a full build could not be run.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.