FreeBSD 7.1/8.0 LD_LIBMAP _rtld modified access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.9$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic was found in FreeBSD 7.1/8.0. The affected element is the function _rtld in the library LD_LIBMAP. Such manipulation of the argument modified leads to access control. This vulnerability is uniquely identified as CVE-2009-4147. Moreover, an exploit is present.

Detailsinfo

A vulnerability was found in FreeBSD 7.1/8.0 (Operating System). It has been rated as critical. Affected by this issue is the function _rtld in the library LD_LIBMAP. The manipulation of the argument modified with an unknown input leads to a access control vulnerability. Using CWE to declare the problem leads to CWE-264. Impacted is confidentiality, integrity, and availability. CVE summarizes:

The _rtld function in the Run-Time Link-Editor (rtld) in libexec/rtld-elf/rtld.c in FreeBSD 7.1 and 8.0 does not clear the (1) LD_LIBMAP, (2) LD_LIBRARY_PATH, (3) LD_LIBMAP_DISABLE, (4) LD_DEBUG, and (5) LD_ELF_HINTS_PATH environment variables, which allows local users to gain privileges by executing a setuid or setguid program with a modified variable containing an untrusted search path that points to a Trojan horse library, different vectors than CVE-2009-4146.

The weakness was disclosed 12/02/2009 (Website). The advisory is available at securitytracker.com. This vulnerability is handled as CVE-2009-4147 since 12/01/2009. The exploitation is known to be easy. Local access is required to approach this attack. No form of authentication is required for exploitation. Technical details as well as a public exploit are known. This vulnerability is assigned to T1068 by the MITRE ATT&CK project.

A public exploit has been developed in Shell File. The exploit is available at securityfocus.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $5k-$25k.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at Exploit-DB (10255), SecurityFocus (BID 37154†), Secunia (SA37517†), SecurityTracker (ID 1023250†) and Vulnerability Center (SBV-39551†). The entry VDB-50997 is pretty similar. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.4
VulDB Meta Temp Score: 7.9

VulDB Base Score: 8.4
VulDB Temp Score: 7.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

OpenVAS ID: 68509
OpenVAS Name: FreeBSD Ports: FreeBSD
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

11/30/2009 🔍
12/01/2009 +1 days 🔍
12/01/2009 +0 days 🔍
12/01/2009 +0 days 🔍
12/02/2009 +1 days 🔍
12/02/2009 +0 days 🔍
05/14/2013 +1259 days 🔍
03/18/2015 +673 days 🔍
09/02/2024 +3456 days 🔍

Sourcesinfo

Product: freebsd.org

Advisory: securitytracker.com
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2009-4147 (🔍)
GCVE (CVE): GCVE-0-2009-4147
GCVE (VulDB): GCVE-100-51002
SecurityFocus: 37154
Secunia: 37517 - FreeBSD Dynamic Linker Privilege Escalation Vulnerability, Less Critical
SecurityTracker: 1023250 - FreeBSD rtld Lets Local Users Gain Root Privileges
Vulnerability Center: 39551 - FreeBSD 7.1 and 8.0 _rltd Function Allows Local Privilege Escalation Vulnerability via a Malformed setuid\\setguid Program, High

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/18/2015 15:15
Updated: 09/02/2024 11:31
Changes: 03/18/2015 15:15 (63), 04/29/2017 20:50 (11), 06/10/2024 18:14 (16), 09/02/2024 11:31 (2)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!