CVE-2008-4640 Path traversal in n/a
Local attackers can delete arbitrary files by manipulating input filenames in the jhead image processing tool.
- 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-2008-4640?
CVE-2008-4640 is a low-severity path traversal vulnerability in n/a, published on 21 Oct 2008. 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
The DoCommand function in jhead.c in Matthias Wandel jhead 2.84 and earlier allows local users to delete arbitrary files via vectors involving a modified input filename in which (1) a final "z" character is replaced by a "t" character or (2) a final "t" character is replaced by a "z" character.
Weakness: CWE-20
Which versions are affected by CVE-2008-4640?
It affects 1 product.
Products include Sentex Jhead.
How do I fix CVE-2008-4640?
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-4640 being exploited?
There is no known exploitation of CVE-2008-4640 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2008-4640, GHSA-ph3v-wxq4-4xc6.