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 | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.7 | $0-$5k | 0.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).
Product
Vendor
Name
Version
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: 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
ATT&CK: Unknown
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 (🔍)
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
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: 🔍
No comments yet. Languages: en.
Please log in to comment.