CVE-2008-5140 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks on temporary files in MailScanner, 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
- None listed
What is CVE-2008-5140?
CVE-2008-5140 is a medium-severity path traversal vulnerability in n/a, published on 18 Nov 2008. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
trend-autoupdate.new in mailscanner 4.55.10 and other versions before 4.74.16-1 allows local users to overwrite arbitrary files via a symlink attack on a (1) /tmp/opr.ini.##### or (2) /tmp/lpt*.zip temporary file.
Weakness: CWE-59
Which versions are affected by CVE-2008-5140?
It affects 1 product.
Products include Debian Mailscanner.
How do I fix CVE-2008-5140?
No fix has been published for CVE-2008-5140 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2008-5140 being exploited?
There is no known exploitation of CVE-2008-5140 in the wild and no public exploit code.
Sources
Also known as GHSA-7j8q-m3w4-7chh.