CVE-2006-6097
GNU tar 1.15.1-1.16 - Arbitrary File Overwrite via GNUTYPE_NAMES Symbolic Link
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2006-6097. PoCs published by Teemu Salmela.
AI-analyzed exploit summary This exploit generates a malicious GNU Tar archive that leverages directory traversal (CVE-2006-6097) to create a symlink pointing to an arbitrary location. The PoC demonstrates how an attacker can overwrite or place files in unintended directories during archive extraction.
Description
GNU tar 1.16 and 1.15.1, and possibly other versions, allows user-assisted attackers to overwrite arbitrary files via a tar file that contains a GNUTYPE_NAMES record with a symbolic link, which is not properly handled by the extract_archive function in extract.c and extract_mangle function in mangle.c, a variant of CVE-2002-1216.
Exploits (1)
This exploit generates a malicious GNU Tar archive that leverages directory traversal (CVE-2006-6097) to create a symlink pointing to an arbitrary location. The PoC demonstrates how an attacker can overwrite or place files in unintended directories during archive extraction.