NVD Vulnerability Detail
Search Exploit, PoC
CVE-2011-1154
Summary

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.

Publication Date March 31, 2011, 7:55 a.m.
Registration Date Jan. 28, 2021, 4:38 p.m.
Last Update Nov. 21, 2024, 10:25 a.m.
CVSS2.0 : MEDIUM
Score 6.9
Vector AV:L/AC:M/Au:N/C:C/I:C/A:C
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:gentoo:logrotate:3.6.5:*:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:3.7.8:*:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:3.5.9:r1:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:3.7.6:*:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:3.3:r2:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:3.7.2:*:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:3.7:*:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:3.7.1:r2:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:3.6.5:r1:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:3.5.9:*:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:3.7.1:r1:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:*:*:*:*:*:*:*:* 3.7.9
cpe:2.3:a:gentoo:logrotate:3.7.1:*:*:*:*:*:*:*
cpe:2.3:a:gentoo:logrotate:3.7.7:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
logrotate の shred_file 関数における任意のコードを実行される脆弱性
Title logrotate の shred_file 関数における任意のコードを実行される脆弱性
Summary

logrotate の logrotate.c 内にある shred_file 関数には、任意のコードを実行される脆弱性が存在します。

Possible impacts 攻撃者により、ファイル名にメタ文字を含むログファイルを介して、任意のコードを実行される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 30, 2011, midnight
Registration Date April 27, 2011, 11:40 a.m.
Last Update April 27, 2011, 11:40 a.m.
Affected System
レッドハット
Red Hat Enterprise Linux Desktop 6
Red Hat Enterprise Linux HPC Node 6
Red Hat Enterprise Linux Server 6
Red Hat Enterprise Linux Workstation 6
Gentoo Linux
logrotate 3.7.9 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2011年04月27日]
  掲載
Feb. 17, 2018, 10:37 a.m.