CVE-2008-5313 Path traversal in n/a

Medium 6.9 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks on temporary files in MailScanner autoupdate and wrapper scripts.

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-5313?

CVE-2008-5313 is a medium-severity path traversal vulnerability in n/a, published on 3 Dec 2008. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

mailscanner 4.68.8 and other versions before 4.74.16-1 might allow local users to overwrite arbitrary files via a symlink attack on certain temporary files used by the (1) f-prot-autoupdate, (2) clamav-autoupdate, (3) avast-autoupdate, and (4) f-prot-6-autoupdate scripts in /etc/MailScanner/autoupdate/; the (5) bitdefender-wrapper, (6) kaspersky-wrapper, (7) clamav-wrapper, and (8) rav-wrapper scripts in /etc/MailScanner/wrapper/; the (9) Quarantine.pm, (10) TNEF.pm, (11) MessageBatch.pm, (12) WorkArea.pm, and (13) SA.pm scripts in /usr/share/MailScanner/MailScanner/; (14) /usr/sbin/MailScanner; and (15) scripts that load the /etc/MailScanner/mailscanner.conf.with.mcp configuration file.

Weakness: CWE-59

Which versions are affected by CVE-2008-5313?

It affects 1 product.

Products include Mailscanner Mailscanner.

How do I fix CVE-2008-5313?

No fix has been published for CVE-2008-5313 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-5313 being exploited?

There is no known exploitation of CVE-2008-5313 in the wild and no public exploit code.

Sources

Also known as GHSA-3vvx-pv53-gmrh.

Is CVE-2008-5313 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free