CVE-2006-6097 Path traversal in n/a
Attackers can overwrite arbitrary files by tricking users into extracting a malicious tar archive containing symbolic links.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2006-6097?
CVE-2006-6097 is a medium-severity path traversal vulnerability in n/a, published on 24 Nov 2006. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2006-6097?
It affects 1 product.
Linux distribution packages (20)
tar Red Hat:enterprise_linux:2.1::as | All versions | 0:1.13.25-6.AS21.1 |
tar Red Hat:enterprise_linux:2.1::aw | All versions | 0:1.13.25-6.AS21.1 |
tar Red Hat:enterprise_linux:2.1::es | All versions | 0:1.13.25-6.AS21.1 |
tar Red Hat:enterprise_linux:2.1::ws | All versions | 0:1.13.25-6.AS21.1 |
tar Red Hat:enterprise_linux:3::as | All versions | 0:1.13.25-15.RHEL3 |
tar-debuginfo Red Hat:enterprise_linux:3::as | All versions | 0:1.13.25-15.RHEL3 |
tar Red Hat:enterprise_linux:3::desktop | All versions | 0:1.13.25-15.RHEL3 |
tar-debuginfo Red Hat:enterprise_linux:3::desktop | All versions | 0:1.13.25-15.RHEL3 |
tar Red Hat:enterprise_linux:3::es | All versions | 0:1.13.25-15.RHEL3 |
tar-debuginfo Red Hat:enterprise_linux:3::es | All versions | 0:1.13.25-15.RHEL3 |
tar Red Hat:enterprise_linux:3::ws | All versions | 0:1.13.25-15.RHEL3 |
tar-debuginfo Red Hat:enterprise_linux:3::ws | All versions | 0:1.13.25-15.RHEL3 |
tar Red Hat:enterprise_linux:4::as | All versions | 0:1.14-12.RHEL4 |
tar-debuginfo Red Hat:enterprise_linux:4::as | All versions | 0:1.14-12.RHEL4 |
tar Red Hat:enterprise_linux:4::desktop | All versions | 0:1.14-12.RHEL4 |
tar-debuginfo Red Hat:enterprise_linux:4::desktop | All versions | 0:1.14-12.RHEL4 |
tar Red Hat:enterprise_linux:4::es | All versions | 0:1.14-12.RHEL4 |
tar-debuginfo Red Hat:enterprise_linux:4::es | All versions | 0:1.14-12.RHEL4 |
tar Red Hat:enterprise_linux:4::ws | All versions | 0:1.14-12.RHEL4 |
tar-debuginfo Red Hat:enterprise_linux:4::ws | All versions | 0:1.14-12.RHEL4 |
Products include Gnu Tar.
How do I fix CVE-2006-6097?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2006-6097 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-6097 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2006-6097, DSA-1223-1, GHSA-f4p7-cvff-gr4c, RHSA-2006:0749.