Description
diaspora* before 0.10.0 contains a path traversal (zip slip) vulnerability in ImportService#unzip_photos_file that allows authenticated users to write files outside the extraction folder. Attackers can upload a crafted photos zip archive during account import with ../ entry names to create new files at arbitrary locations writable by the diaspora* process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| diaspora | diaspora* | < 0.10.0 | 0.10.0 |
References
- https://github.com/diaspora/diaspora/commit/e9b616cd583823f75ac1d1f8e701da4316071e04 patch
- diaspora* v0.10.0 Release Notes release-notes
- https://github.com/diaspora/diaspora/blob/v0.9.1.0/app/services/import_service.rb#L85-L90 technical-description
- VulnCheck Advisory: diaspora* before 0.10.0 Path Traversal via Account Import Photos Archive third-party-advisory