CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.3 | $0-$5k | 0.00 |
A vulnerability was found in OpenLDAP (Directory Service Software). It has been rated as problematic. This issue affects an unknown functionality of the file gencert.sh. The manipulation with an unknown input leads to a symlink vulnerability. Using CWE to declare the problem leads to CWE-61. The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 01/23/2007. The weakness was published 01/23/2007 by Tavis Ormandy (LINUX) with Gentoo Linux (Website). It is possible to read the advisory at vupen.com. The identification of this vulnerability is CVE-2007-0476 since 01/24/2007. The exploitation is known to be easy. Attacking locally is a requirement. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 24255 (GLSA-200701-19 : OpenLDAP: Insecure usage of /tmp during installation), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l.
Upgrading to version 2.1.30-r10 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (24255).
Product
Type
Name
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.9
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: SymlinkCWE: CWE-61 / CWE-59
CAPEC: 🔍
ATT&CK: 🔍
Local: Yes
Remote: No
Availability: 🔍
Status: Proof-of-Concept
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 24255
Nessus Name: GLSA-200701-19 : OpenLDAP: Insecure usage of /tmp during installation
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 57979
OpenVAS Name: Gentoo Security Advisory GLSA 200701-19 (openldap)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: OpenLDAP 2.1.30-r10
Timeline
01/23/2007 🔍01/23/2007 🔍
01/23/2007 🔍
01/23/2007 🔍
01/24/2007 🔍
01/24/2007 🔍
01/24/2007 🔍
01/24/2007 🔍
01/24/2007 🔍
01/26/2007 🔍
01/29/2007 🔍
03/13/2015 🔍
07/14/2019 🔍
Sources
Advisory: vupen.com⛔Researcher: Tavis Ormandy (LINUX)
Organization: Gentoo Linux
Status: Not defined
CVE: CVE-2007-0476 (🔍)
Vulnerability Center: 14176 - OpenLDAP Gentoo Installation /tmp Directory Traversal, Low
SecurityFocus: 22195 - OpenLDAP Gentoo GenCert.SH Script Insecure Temporary File Creation Vulnerability
Secunia: 23881 - Gentoo update for openldap, Less Critical
OSVDB: 31617 - Gentoo OpenLDAP gencert.sh Insecure Temporary File Creation
Vupen: ADV-2007-0305
Entry
Created: 03/13/2015 10:40Updated: 07/14/2019 10:08
Changes: 03/13/2015 10:40 (76), 07/14/2019 10:08 (6)
Complete: 🔍
Cache ID: 13:DB3:103
No comments yet. Languages: en.
Please log in to comment.