GNU findutils up to 4.2.30 locate/locate.c visit_old_format heap-based overflow

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported 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. Performing a manipulation results in heap-based overflow.
This vulnerability was named CVE-2007-2452. There is no available exploit.
It is suggested to upgrade the affected component.
Details
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), Tenable (25381), SecurityFocus (BID 24250†), OSVDB (36827†) and Secunia (SA25477†). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 5.7
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
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: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
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: 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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: findutils 4.2.31
Timeline
05/02/2007 🔍05/30/2007 🔍
05/30/2007 🔍
05/31/2007 🔍
06/01/2007 🔍
06/01/2007 🔍
06/01/2007 🔍
06/04/2007 🔍
06/04/2007 🔍
06/11/2007 🔍
03/15/2015 🔍
07/20/2021 🔍
Sources
Vendor: gnu.orgAdvisory: securityreason.com
Organization: Developer
Status: Confirmed
CVE: CVE-2007-2452 (🔍)
GCVE (CVE): GCVE-0-2007-2452
GCVE (VulDB): GCVE-100-37083
X-Force: 34628
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
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
Vupen: ADV-2007-2015
Entry
Created: 03/15/2015 15:58Updated: 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: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.