CVE-2011-1154
logrotate: Shell command injection by using the shred configuration directive
Severity Score
6.9
*CVSS v2
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
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.
La función shred_file en logrotate.c en logrotate v3.7.9 y anteriores puede permitir a atacantes dependiendo del contexto, ejecutar comandos vía metacaracteres de la shell en un fichero de registro, como lo demuestra un nombre de archivo que es contruido de forma automática sobre la base de un nombre de host o máquina virtual.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2011-03-03 CVE Reserved
- 2011-03-30 CVE Published
- 2023-03-08 EPSS Updated
- 2024-08-06 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-20: Improper Input Validation
CAPEC
References (44)
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056992.html | 2011-04-21 | |
http://openwall.com/lists/oss-security/2011/03/07/11 | 2011-04-21 | |
https://bugzilla.redhat.com/show_bug.cgi?id=680796 | 2011-03-31 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | <= 3.7.9 Search vendor "Gentoo" for product "Logrotate" and version " <= 3.7.9" | - |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.3 Search vendor "Gentoo" for product "Logrotate" and version "3.3" | r2 |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.5.9 Search vendor "Gentoo" for product "Logrotate" and version "3.5.9" | - |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.5.9 Search vendor "Gentoo" for product "Logrotate" and version "3.5.9" | r1 |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.6.5 Search vendor "Gentoo" for product "Logrotate" and version "3.6.5" | - |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.6.5 Search vendor "Gentoo" for product "Logrotate" and version "3.6.5" | r1 |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.7 Search vendor "Gentoo" for product "Logrotate" and version "3.7" | - |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.7.1 Search vendor "Gentoo" for product "Logrotate" and version "3.7.1" | - |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.7.1 Search vendor "Gentoo" for product "Logrotate" and version "3.7.1" | r1 |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.7.1 Search vendor "Gentoo" for product "Logrotate" and version "3.7.1" | r2 |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.7.2 Search vendor "Gentoo" for product "Logrotate" and version "3.7.2" | - |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.7.6 Search vendor "Gentoo" for product "Logrotate" and version "3.7.6" | - |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.7.7 Search vendor "Gentoo" for product "Logrotate" and version "3.7.7" | - |
Affected
| ||||||
Gentoo Search vendor "Gentoo" | Logrotate Search vendor "Gentoo" for product "Logrotate" | 3.7.8 Search vendor "Gentoo" for product "Logrotate" and version "3.7.8" | - |
Affected
|