NVD Vulnerability Detail
Search Exploit, PoC
CVE-2013-7345
Summary

The BEGIN regular expression in the awk script detector in magic/Magdir/commands in file before 5.15 uses multiple wildcards with unlimited repetitions, which allows context-dependent attackers to cause a denial of service (CPU consumption) via a crafted ASCII file that triggers a large amount of backtracking, as demonstrated via a file with many newline characters.

Publication Date March 25, 2014, 1:31 a.m.
Registration Date Jan. 26, 2021, 3:49 p.m.
Last Update Nov. 21, 2024, 11 a.m.
CVSS2.0 : MEDIUM
Score 5.0
Vector AV:N/AC:L/Au:N/C:N/I:N/A:P
攻撃元区分(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:christos_zoulas:file:*:*:*:*:*:*:*:* 5.15
Configuration2 or higher or less more than less than
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 5.5.0 5.5.11
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 5.4.0 5.4.27
Configuration3 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
file の magic/Magdir/commands の awk スクリプト検出の BEGIN 正規表現におけるサービス運用妨害 (DoS) の脆弱性
Title file の magic/Magdir/commands の awk スクリプト検出の BEGIN 正規表現におけるサービス運用妨害 (DoS) の脆弱性
Summary

file の magic/Magdir/commands の awk スクリプト検出の BEGIN 正規表現は、無制限の繰り返しを伴う複数のワイルドカードを使用するため、サービス運用妨害 (CPU 資源の消費) 状態にされる脆弱性が存在します。

Possible impacts 攻撃者により、大量のバックトラッキングを誘発する巧妙に細工された ASCII ファイルを介して、サービス運用妨害 (CPU 資源の消費) 状態にされる可能性があります。
Solution

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

Publication Date March 25, 2013, midnight
Registration Date March 25, 2014, 6:07 p.m.
Last Update Aug. 3, 2015, 5:12 p.m.
Affected System
アップル
Apple Mac OS X 10.9 から 10.9.4
file project
file 5.15 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2014年03月25日]
  掲載
[2014年09月24日]
  影響を受けるシステム:ベンダ情報の追加に伴い内容を更新
  ベンダ情報:アップル (HT6443) を追加
  参考情報:JVN (JVNVU#93868849) を追加
[2015年08月03日]
  ベンダ情報:レッドハット (RHSA-2014:1765) を追加
Feb. 17, 2018, 10:37 a.m.