Description
The Android implementation of the Flutter/Dart receive_sharing_intent package, versions 1.4.1 through 1.9.0, contains a path traversal vulnerability in FileDirectory.getDataColumn that allows a malicious co-resident application to write files outside the intended cache directory by supplying a crafted _display_name value from an untrusted ContentProvider. Attackers can use a path-shaped display name ../databases/proof.txt combined with a controlled content stream to write to arbitrary locations within the receiving application's private sandbox under its UID, achieving file overwrite without user interaction.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| KasemJaffer | receive_sharing_intent | 1.4.1 – ≤ 1.9.0 | — |
References
- Proposed Pull Request issue-tracking patch
- Researcher Disclosure technical-description
- VulnCheck Advisory: receive_sharing_intent 1.4.1-1.9.0 Path Traversal via FileDirectory third-party-advisory