GNU findutils 4.0/4.1/4.2.28/4.2.29/4.2.30 locate/locate.c visit_old_format heap-based overflow

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

A vulnerability, which was classified as critical, was found in GNU findutils 4.0/4.1/4.2.28/4.2.29/4.2.30. This affects the function visit_old_format of the file locate/locate.c. The manipulation with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Heap-based buffer overflow in the visit_old_format function in locate/locate.c in locate in GNU findutils before 4.2.31 might allow context-dependent attackers to execute arbitrary code via a long pathname in a locate database that has the old format, a different vulnerability than CVE-2001-1036.

The weakness was presented 05/30/2007 with Developer (Website). It is possible to read the advisory at securityreason.com. This vulnerability is uniquely identified as CVE-2007-2452 since 05/02/2007. It is possible to initiate the attack remotely. A authentication is needed for 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 25381 (FreeBSD : findutils -- GNU locate heap buffer overrun (7ca2a709-103b-11dc-8e82-00001cd613f9)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks.

Upgrading to version 4.2.31 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (34628) and Tenable (25381).

Productinfo

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

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

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: CWE-122 / CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 25381
Nessus Name: FreeBSD : findutils -- GNU locate heap buffer overrun (7ca2a709-103b-11dc-8e82-00001cd613f9)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 58850
OpenVAS Name: FreeBSD Ports: findutils
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: findutils 4.2.31

Timelineinfo

05/02/2007 🔍
05/30/2007 +28 days 🔍
05/30/2007 +0 days 🔍
05/31/2007 +0 days 🔍
06/01/2007 +1 days 🔍
06/01/2007 +0 days 🔍
06/01/2007 +0 days 🔍
06/04/2007 +2 days 🔍
06/04/2007 +0 days 🔍
06/11/2007 +7 days 🔍
03/15/2015 +2834 days 🔍
07/20/2021 +2319 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: securityreason.com
Organization: Developer
Status: Confirmed

CVE: CVE-2007-2452 (🔍)
X-Force: 34628
SecurityTracker: 1018183 - GNU locate Filename Buffer Overflow Lets Local Users Execute Arbitrary Code
Vulnerability Center: 15335 - GNU Findutils Buffer Overflow Allows Local Attacker Code Execution, Medium
SecurityFocus: 24250 - GNU Locate Old Format Locate Database Local Buffer Overflow Vulnerability
Secunia: 25477 - GNU findutils locate Long Path Buffer Overflow Vulnerability, Less Critical
OSVDB: 36827 - GNU findutils locate/locate.c visit_old_format Function Overflow
Vupen: ADV-2007-2015

Entryinfo

Created: 03/15/2015 15:58
Updated: 07/20/2021 08:55
Changes: 03/15/2015 15:58 (66), 08/19/2017 09:49 (18), 07/20/2021 08:55 (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!