CVE-2011-1154

critical

Description

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=680796

http://www.vupen.com/english/advisories/2011/0961

http://www.vupen.com/english/advisories/2011/0872

http://www.vupen.com/english/advisories/2011/0791

http://www.redhat.com/support/errata/RHSA-2011-0407.html

http://www.mandriva.com/security/advisories?name=MDVSA-2011:065

http://secunia.com/advisories/43955

http://openwall.com/lists/oss-security/2011/03/23/11

http://openwall.com/lists/oss-security/2011/03/14/26

http://openwall.com/lists/oss-security/2011/03/11/5

http://openwall.com/lists/oss-security/2011/03/11/3

http://openwall.com/lists/oss-security/2011/03/10/7

http://openwall.com/lists/oss-security/2011/03/10/6

http://openwall.com/lists/oss-security/2011/03/10/3

http://openwall.com/lists/oss-security/2011/03/10/2

http://openwall.com/lists/oss-security/2011/03/08/5

http://openwall.com/lists/oss-security/2011/03/07/6

http://openwall.com/lists/oss-security/2011/03/07/5

http://openwall.com/lists/oss-security/2011/03/07/11

http://openwall.com/lists/oss-security/2011/03/06/6

http://openwall.com/lists/oss-security/2011/03/06/5

http://openwall.com/lists/oss-security/2011/03/06/4

http://openwall.com/lists/oss-security/2011/03/06/3

http://openwall.com/lists/oss-security/2011/03/05/8

http://openwall.com/lists/oss-security/2011/03/05/6

http://openwall.com/lists/oss-security/2011/03/05/4

http://openwall.com/lists/oss-security/2011/03/04/33

http://openwall.com/lists/oss-security/2011/03/04/32

http://openwall.com/lists/oss-security/2011/03/04/31

http://openwall.com/lists/oss-security/2011/03/04/30

http://openwall.com/lists/oss-security/2011/03/04/29

http://openwall.com/lists/oss-security/2011/03/04/28

http://openwall.com/lists/oss-security/2011/03/04/27

http://openwall.com/lists/oss-security/2011/03/04/26

http://openwall.com/lists/oss-security/2011/03/04/25

http://openwall.com/lists/oss-security/2011/03/04/24

http://openwall.com/lists/oss-security/2011/03/04/22

http://openwall.com/lists/oss-security/2011/03/04/19

http://openwall.com/lists/oss-security/2011/03/04/18

http://openwall.com/lists/oss-security/2011/03/04/17

http://openwall.com/lists/oss-security/2011/03/04/16

http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056992.html

http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057845.html

Details

Source: Mitre, NVD

Published: 2011-03-30

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 6.9

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical