CVE-2007-0476 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks during OpenLDAP installation due to insecure temporary directory creation.
- 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-2007-0476?
CVE-2007-0476 is a medium-severity path traversal vulnerability in Gentoo Linux, published on 25 Jan 2007. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The gencert.sh script, when installing OpenLDAP before 2.1.30-r10, 2.2.x before 2.2.28-r7, and 2.3.x before 2.3.30-r2 as an ebuild in Gentoo Linux, does not create temporary directories in /tmp securely during emerge, which allows local users to overwrite arbitrary files via a symlink attack.
Which versions are affected by CVE-2007-0476?
It affects 1 product.
Products include Gentoo Linux.
How do I fix CVE-2007-0476?
No fix has been published for CVE-2007-0476 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-2007-0476 being exploited?
There is no known exploitation of CVE-2007-0476 in the wild and no public exploit code.
Other vulnerabilities in Gentoo Linux
Sources
Also known as GHSA-ghpq-6gcw-8x6r.