Description
VLC for Android before 3.7.2 contains a confused-deputy file overwrite vulnerability in FileUtils.getUri() that trusts content URIs based only on the com.fsck.k9.attachmentprovider or gmail-ls authority. A co-installed app without permissions can declare these authorities and send a crafted VIEW intent to the exported StartActivity, making VLC write attacker-chosen content under an attacker-chosen name in the shared Download directory, overwriting other apps' files when VLC holds All files access.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
VideoLAN VLC for Android
Default version status: unaffected
0 to < 3.7.2affected
pkg:github/videolan/vlc-androidReferences
- https://github.com/videolan/vlc-android/commit/d289a54689d82eb788ec547ff5fb08f847ae62e6 ↗
- https://github.com/videolan/vlc-android/releases/tag/3.7.2 ↗
- https://github.com/videolan/vlc-android/blob/3.7.1/application/vlc-android/src/org/videolan/vlc/util/FileUtils.kt#L397-L428 ↗
- https://www.vulncheck.com/advisories/vlc-for-android-before-3.7.2-file-overwrite-via-spoofed-mail-attachment-provider ↗