File read and write via reflected Intent
Published Nov 30, 2021 · Updated Aug 4, 2024
Improper Intent handling in Nextcloud News for Android before 0.9.9.63 allows local users to read or write external-storage files. The exported SettingsActivity.onStart method returns the caller-supplied Intent through setResult without clearing its data URI or permission-grant flags. A malicious application installed on the same device must launch the activity for a result; the reflected grant then exposes files through the app's non-exported FileProvider.
Summary
What happened
Improper Intent handling in Nextcloud News for Android before 0.9.9.63 allows local users to read or write external-storage files. The exported SettingsActivity.onStart method returns the caller-supplied Intent through setResult without clearing its data URI or permission-grant flags. A malicious application installed on the same device must launch the activity for a result; the reflected grant then exposes files through the app's non-exported FileProvider.
The record
- CVE
- CVE-2021-41256
- Published
- Nov 30, 2021
- Updated
- Aug 4, 2024
- Vendor
- Nextcloud GmbH
- Product
- Nextcloud News for Android
- Classifications
- CWE-829, T1409
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Nov 30, 2021CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record 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=< 0.9.9.63
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
- IntentUriManipulationPocproof 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