RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://www.rarlab.com/rar_add.htm | product |
https://www.rarlab.com/rar/rarlinux-x32-612.tar.gz | patch |
https://blog.sonarsource.com/zimbra-pre-auth-rce-via-unrar-0day/ | third party advisory exploit |
http://packetstormsecurity.com/files/167989/Zimbra-UnRAR-Path-Traversal.html | exploit vdb entry third party advisory |
https://lists.debian.org/debian-lts-announce/2023/08/msg00022.html | third party advisory mailing list |
https://security.gentoo.org/glsa/202309-04 | third party advisory vendor advisory |