Directory traversal vulnerability in the read_long_names function in libelf/elf_begin.c in elfutils 0.152 and 0.161 allows remote attackers to write to arbitrary files to the root directory via a / (slash) in a crafted archive, as demonstrated using the ar program.
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 |
---|---|
http://secunia.com/advisories/62560 | third party advisory |
http://www.openwall.com/lists/oss-security/2014/12/29/2 | mailing list |
http://advisories.mageia.org/MGASA-2015-0033.html | |
http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148326.html | vendor advisory |
http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148321.html | vendor advisory |
http://secunia.com/advisories/62661 | third party advisory |
http://www.mandriva.com/security/advisories?name=MDVSA-2015:047 | vendor advisory |
https://git.fedorahosted.org/cgit/elfutils.git/commit/?id=147018e729e7c22eeabf15b82d26e4bf68a0d18e | vendor advisory |
http://secunia.com/advisories/61934 | third party advisory |
https://lists.fedorahosted.org/pipermail/elfutils-devel/2014-December/004499.html | mailing list |
http://www.securityfocus.com/bid/71804 | vdb entry |