NFSv4 nfsidmap 0.16.22 getpwnam_r Local Privilege Escalation

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.1$0-$5k0.00

A vulnerability, which was classified as critical, was found in NFSv4 nfsidmap 0.16.22. Affected is the function getpwnam_r. The manipulation with an unknown input leads to a local privilege escalation vulnerability. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

The NFSv4 ID mapper (nfsidmap) before 0.17 does not properly handle return values from the getpwnam_r function when performing a username lookup, which can cause it to report a file as being owned by "root" instead of "nobody" if the file exists on the server but not on the client.

The bug was discovered 08/31/2007. The weakness was published 09/04/2007 (Website). The advisory is shared for download at secunia.com. This vulnerability is traded as CVE-2007-4135 since 08/02/2007. The exploitability is told to be difficult. The attack needs to be approached locally. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 4 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 29298 (Mandrake Linux Security Advisory : libnfsidmap (MDKSA-2007:240)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 156027 (Oracle Enterprise Linux Update for nfs-utils-lib (ELSA-2007-0951)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 4 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (36396) and Tenable (29298). Similar entries are available at 38641 and 38538.

Productinfo

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.4
VulDB Meta Temp Score: 7.1

VulDB Base Score: 7.4
VulDB Temp Score: 7.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Local Privilege Escalation
CWE: Unknown
ATT&CK: Unknown

Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 29298
Nessus Name: Mandrake Linux Security Advisory : libnfsidmap (MDKSA-2007:240)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 830039
OpenVAS Name: Zoho ManageEngine Support Center Plus Multiple Fields XSS Vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

08/02/2007 🔍
08/31/2007 +29 days 🔍
08/31/2007 +0 days 🔍
09/03/2007 +3 days 🔍
09/04/2007 +1 days 🔍
09/04/2007 +0 days 🔍
10/07/2007 +33 days 🔍
12/07/2007 +61 days 🔍
12/07/2007 +0 days 🔍
12/11/2007 +4 days 🔍
06/01/2008 +173 days 🔍
03/16/2015 +2478 days 🔍
07/27/2019 +1594 days 🔍

Sourcesinfo

Advisory: secunia.com
Status: Not defined

CVE: CVE-2007-4135 (🔍)
OVAL: 🔍

X-Force: 36396
Vulnerability Center: 16271 - Multiple Linux Servers NFSv4 ID Mapper Local Privilege Escalation Vulnerability, High
SecurityFocus: 26767 - NFSv4 ID Mapper nfsidmap Username Lookup Local Privilege Escalation Vulnerability
Secunia: 26674
OSVDB: 45825 - NFSv4 ID Mapper (nfsidmap) getpwnam_r Function Username Lookup File Ownership Mismatch Weakness

See also: 🔍

Entryinfo

Created: 03/16/2015 12:18
Updated: 07/27/2019 09:57
Changes: 03/16/2015 12:18 (80), 07/27/2019 09:57 (3)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!