CVE-2008-4979 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks on temporary files in Rancid, potentially compromising system integrity.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2008-4979?
CVE-2008-4979 is a medium-severity path traversal vulnerability in n/a, published on 6 Nov 2008. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
getipacctg in rancid 2.3.2~a8 allows local users to overwrite arbitrary files via a symlink attack on (1) /tmp/ipacct.#####.prefixes, (2) /tmp/ipacct.#####.sorted, (3) /tmp/ipacct.#####.pl, and (4) /tmp/ipacct.##### temporary files.
Weakness: CWE-59
Which versions are affected by CVE-2008-4979?
It affects 1 product.
Products include Shrubbery Rancid.
How do I fix CVE-2008-4979?
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-2008-4979 being exploited?
There is no known exploitation of CVE-2008-4979 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2008-4979, GHSA-jqj7-x7fh-x429.