NVD Vulnerability Detail
Search Exploit, PoC
CVE-2016-5118
Summary

The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbitrary code via a | (pipe) character at the start of a filename.

Publication Date June 11, 2016, 12:59 a.m.
Registration Date Jan. 26, 2021, 2:13 p.m.
Last Update Nov. 21, 2024, 11:53 a.m.
CVSS3.1 : CRITICAL
スコア 9.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : HIGH
Score 10.0
Vector AV:N/AC:L/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:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:* 1.3.23
Configuration2 or higher or less more than less than
cpe:2.3:a:suse:studio_onsite:1.3:*:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp4:*:*:*:*:*:*
cpe:2.3:a:suse:linux_enterprise_debuginfo:11:sp4:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:*
cpe:2.3:o:oracle:solaris:10:*:*:*:*:*:*:*
Configuration4 or higher or less more than less than
cpe:2.3:o:oracle:linux:6:*:*:*:*:*:*:*
cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*
Configuration5 or higher or less more than less than
cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*
Configuration6 or higher or less more than less than
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
Configuration7 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Configuration8 or higher or less more than less than
cpe:2.3:o:suse:linux_enterprise_desktop:12.0:sp1:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise_software_development_kit:12.0:sp1:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise_server:12.0:sp1:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise_workstation_extension:12:sp1:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise_server:12:-:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:-:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise_desktop:12:-:*:*:*:*:*:*
cpe:2.3:o:suse:linux_enterprise_workstation_extension:12:-:*:*:*:*:*:*
Configuration9 or higher or less more than less than
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* 7.0.1-7
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
GraphicsMagick および ImageMagick の blob.c の OpenBlob 関数における任意のコードを実行される脆弱性
Title GraphicsMagick および ImageMagick の blob.c の OpenBlob 関数における任意のコードを実行される脆弱性
Summary

GraphicsMagick および ImageMagick の blob.c の OpenBlob 関数には、任意のコードを実行される脆弱性が存在します。 補足情報 : CWE による脆弱性タイプは、CWE-284: Improper Access Control (不適切なアクセス制御) と識別されています。 http://cwe.mitre.org/data/definitions/284.html

Possible impacts 第三者により、ファイル名の先頭にある | (パイプ) 文字を介して、任意のコードを実行される可能性があります。
Solution

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

Publication Date May 30, 2016, midnight
Registration Date June 16, 2016, 11:33 a.m.
Last Update Nov. 21, 2016, 10:35 a.m.
Affected System
オラクル
Oracle Linux 
Oracle Solaris 
ImageMagick
ImageMagick 
GraphicsMagick
GraphicsMagick 1.3.24 未満
Debian
Debian GNU/Linux 8.0
Canonical
Ubuntu 
SUSE
SUSE Linux Enterprise Debuginfo 
SUSE Linux Enterprise Desktop 
SUSE Linux Enterprise Server 
SUSE Linux Enterprise Software Development Kit 
SUSE Linux Enterprise Workstation Extension 
SUSE Studio Onsite 
openSUSE project
openSUSE 13.2
openSUSE Leap 42.1
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2016年06月16日]
  掲載
[2016年11月21日]
  影響を受けるシステム:ベンダ情報の追加に伴い内容を更新
  ベンダ情報:openSUSE project (SUSE-SU-2016:1570) を追加
  ベンダ情報:openSUSE project (SUSE-SU-2016:1614) を追加
  ベンダ情報:Canonical (USN-2990-1) を追加 
  ベンダ情報:オラクル (Oracle Solaris Third Party Bulletin - July 2016) を追加
  ベンダ情報:オラクル (Oracle Linux Bulletin - April 2016) を追加
Feb. 17, 2018, 10:37 a.m.