Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| VideoLAN / VLC for Android | affected 0 before 3.7.2 |
CWE
CWE-346
References
- 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