CVE-2009-2939 Path traversal in n/a
Local attackers can exploit symlink vulnerabilities in Postfix PID directory permissions to overwrite arbitrary files and potentially escalate privileges.
- 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-2009-2939?
CVE-2009-2939 is a medium-severity path traversal vulnerability in n/a, published on 21 Sep 2009. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The postfix.postinst script in the Debian GNU/Linux and Ubuntu postfix 2.5.5 package grants the postfix user write access to /var/spool/postfix/pid, which might allow local users to conduct symlink attacks that overwrite arbitrary files.
Weakness: CWE-59
Which versions are affected by CVE-2009-2939?
It affects 1 product.
Products include Postfix Postfix.
How do I fix CVE-2009-2939?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2009-2939 being exploited?
There is no known exploitation of CVE-2009-2939 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2009-2939, GHSA-rpqw-5g6j-x944.