Database disclosure via unsanitized content-provider queries
Published Jan 25, 2022 · Updated Apr 23, 2025
SQL injection in Nextcloud Android app before 3.18.1 allows local users to read app database data through an exported content provider. FileContentProvider exposes unprotected root, file, and directory URIs and passes attacker-controlled selections, sort orders, and update values to unsafe SQLite operations without sanitization. A malicious app needing no special permission can extract values from any filelist table, including share tokens that grant access to shared files.
Summary
What happened
SQL injection in Nextcloud Android app before 3.18.1 allows local users to read app database data through an exported content provider. FileContentProvider exposes unprotected root, file, and directory URIs and passes attacker-controlled selections, sort orders, and update values to unsafe SQLite operations without sanitization. A malicious app needing no special permission can extract values from any filelist table, including share tokens that grant access to shared files.
The record
- CVE
- CVE-2021-43863
- Published
- Jan 25, 2022
- Updated
- Apr 23, 2025
- Vendor
- Nextcloud GmbH
- Product
- Nextcloud Android app
- Classifications
- CWE-89, T1005
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 25, 2022CVE publishedPublication date reported by the CVE source.
- Apr 23, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 3.18.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- FileContentProvider SQL injection proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo