Gentoo logrotate up to 3.7.9 logrotate.c shred_file input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in Gentoo logrotate up to 3.7.9. This impacts the function shred_file of the file logrotate.c. Performing a manipulation results in input validation.
This vulnerability is reported as CVE-2011-1154. No exploit exists.
Details
A vulnerability was found in Gentoo logrotate up to 3.7.9. It has been classified as critical. This affects the function shred_file of the file logrotate.c. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
The shred_file function in logrotate.c in logrotate 3.7.9 and earlier might allow context-dependent attackers to execute arbitrary commands via shell metacharacters in a log filename, as demonstrated by a filename that is automatically constructed on the basis of a hostname or virtual machine name.
The weakness was disclosed 03/30/2011 by Paul as Bug 680796 as not defined bug report (Bugzilla). It is possible to read the advisory at bugzilla.redhat.com. This vulnerability is uniquely identified as CVE-2011-1154. Attacking locally is a requirement. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 53363 (Fedora 14 : logrotate-3.7.9-2.fc14 (2011-3739)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 155484 (Oracle Enterprise Linux Update for logrotate (ELSA-2011-0407)).
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 X-Force (66492), Tenable (53363), SecurityFocus (BID 47103†) and Vulnerability Center (SBV-30745†). The entries VDB-56968 and VDB-56966 are pretty similar. Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.4VulDB Meta Temp Score: 8.4
VulDB Base Score: 8.4
VulDB Temp Score: 8.4
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: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 53363
Nessus Name: Fedora 14 : logrotate-3.7.9-2.fc14 (2011-3739)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 862978
OpenVAS Name: Fedora Update for logrotate FEDORA-2011-3739
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
03/03/2011 🔍03/04/2011 🔍
03/04/2011 🔍
03/30/2011 🔍
03/30/2011 🔍
04/03/2011 🔍
03/20/2015 🔍
10/21/2021 🔍
Sources
Advisory: Bug 680796Researcher: Paul
Status: Not defined
Confirmation: 🔍
CVE: CVE-2011-1154 (🔍)
GCVE (CVE): GCVE-0-2011-1154
GCVE (VulDB): GCVE-100-56967
OVAL: 🔍
X-Force: 66492
SecurityFocus: 47103 - logrotate 'shred_file()' Log Filename Command Injection Vulnerability
Secunia: 43955
Vulnerability Center: 30745 - logrotate 3.7.9 and earlier Local Arbitrary Code Execution Vulnerability, Medium
See also: 🔍
Entry
Created: 03/20/2015 16:16Updated: 10/21/2021 14:26
Changes: 03/20/2015 16:16 (62), 03/20/2017 09:25 (10), 10/21/2021 14:23 (5), 10/21/2021 14:26 (1)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.