Description
MP Manager through 1.1.0 contains a path traversal vulnerability that allows attackers to write files outside the extraction folder by bypassing the non-recursive sanitizeEntryName filter. Attackers can craft TAR, 7z or RAR entries named ....//file that become ../file, creating or overwriting files anywhere the app can write on shared storage.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Abdurazaaq Mohammed | MP Manager | ≤ 1.1.0 | — |
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/S161BQjoMx third-party-advisory
- https://github.com/AbdurazaaqMohammed/MP-Manager/blob/592107e4bbe9da26bf10b3e22b023696324fb99f/app/src/main/java/io/github/abdurazaaqmohammed/utils/ArchiveUtil.java#L226-L231 technical-description
- https://github.com/AbdurazaaqMohammed/MP-Manager/blob/592107e4bbe9da26bf10b3e22b023696324fb99f/app/src/main/java/io/github/abdurazaaqmohammed/utils/ArchiveUtil.java#L134-L152 technical-description
- 1.1.0 Release Notes release-notes
- VulnCheck Advisory: MP Manager through 1.1.0 Path Traversal via Archive Extraction sanitizeEntryName Bypass third-party-advisory