MEDIUM
CVE-2007-0476
NVD-CWE-OtherPublished: January 25, 2007· Updated: Jun 16, 2026
4.6
CVSS v3.1
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.
Technical Analysis
CVE-2007-0476 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:L/AC:L/Au:N/C:P/I:P/A:P
Affected Vendors & Products
gentoo1 product(s)
linux
Source: NVD CPE · 3 total CPE entries
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (10)
→
http://secunia.com/advisories/23881Vendor Advisory
→
http://secunia.com/advisories/23881Vendor Advisory
Quick Facts
CVE IDCVE-2007-0476
CVSS Score4.6 / 10
SeverityMEDIUM
WeaknessNVD-CWE-Other
CISA KEVNo
Affected1 vendor(s)
PublishedJan 25, 2007
Related CVEs (NVD-CWE-Other)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2007-0476 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.