ブログトップ 記事一覧 ログイン 無料ブログ開設

piyolog RSSフィード

2014-09-25

bashの脆弱性(CVE-2014-6271) #ShellShock の関連リンクをまとめてみた

| 11:30 |  bashの脆弱性(CVE-2014-6271) #ShellShock の関連リンクをまとめてみたを含むブックマーク

bash脆弱性が確認されたとして騒ぎになっています。ここではCVE-2014-6721に関する情報をまとめます。

#ひとまずリンク、Tweetのみです。

脆弱性情報

脆弱性の愛称

Shellshock

CVE番号
CVEpatch
CVE-2014-6271BASH PATCH REPORT bash30-017
BASH PATCH REPORT bash31-018
BASH PATCH REPORT bash32-052
BASH PATCH REPORT bash40-039
BASH PATCH REPORT bash41-012
BASH PATCH REPORT bash42-048
BASH PATCH REPORT bash43-025
CVE-2014-7169CVE-2014-6271に修正漏れがあった模様*1
影響を受けるバージョン

Bash 4.3 Patch 25 およびそれ以前

Bash 4.2 Patch 48 およびそれ以前

Bash 4.1 Patch 12 およびそれ以前

Bash 4.0 Patch 39 およびそれ以前

Bash 3.2 Patch 52 およびそれ以前

Bash 3.1 Patch 18 およびそれ以前

Bash 3.0 Patch 17 およびそれ以前

https://www.jpcert.or.jp/at/2014/at140037.html

注意喚起

脆弱性検証コード

簡易チェック

以下のコマンドを実行して「vulnerable」が表示された場合、CVE-2014-6271の影響を受ける可能性がある。

$ env x='() { :;}; echo vulnerable' bash -c "echo this is a test"

  • コマンドが実行できた場合に表示される内容

vulnerable

this is a test

bash: warning: x: ignoring function definition attempt

bash: error importing function definition for `x'

this is a test

Metasploit

ShellShockの探索行為が行われ始めている可能性

ベンダの関連情報

ディストリCVE-2014-6271CVE-2014-7169関連情報
RHELFixed?Bug 1141597 - (CVE-2014-6271) CVE-2014-6271 bash: specially-crafted environment variables can be used to inject shell commands
Bash Code Injection Vulnerability via Specially Crafted Environment Variables (CVE-2014-6271)
Bash specially-crafted environment variables code injection attack
AWSFixed?CVE-2014-6271 Advisory
ALAS-2014-418
UbuntuFixed?USN-2362-1: Bash vulnerability Ubuntu Security Notice USN-2362-1
CentOSFixed?Critical update for bash released today.
SuSEFixed?CVE-2014-6271
Bug 896776
DebianFixed?Debian Security Advisory DSA-3032-1 bash -- security update
GentooFixedFixedBug 523592

「?」は対応済みか不明の箇所です。

ディストリデフォルトシェル

ディストリデフォルトシェル
Mac OSXbash
RHELbash
CentOSbash
Fedorabash
Debiansh(lenny)
dash(Squeeze)
Ubuntudash
FreeBSDtcsh
Androidsh

CVE-2014-6271 修正版バージョン

GNU Project

Bash 4.3 Patch 25

Bash 4.2 Patch 48

Bash 4.1 Patch 12

Bash 4.0 Patch 39

Bash 3.2 Patch 52

Bash 3.1 Patch 18

Bash 3.0 Patch 17

RHEL

bash-3.2-33.el5.1

bash-3.2-33.el5_11.1.sjis.1

bash-3.2-24.el5_6.1

bash-3.2-32.el5_9.2

bash-3.0-27.el4.2

bash-4.1.2-15.el6_5.1

bash-4.1.2-15.el6_5.1.sjis.1

bash-4.1.2-9.el6_2.1

bash-4.1.2-15.el6_4.1

https://access.redhat.com/articles/1200223
CentOS

bash-3.2-33.el5.1 (CentOS 5)

bash-4.1.2-15.el6_5.1 (CentOS 6)

bash-4.2.45-5.el7_0.2 (CentOS 7)

http://lists.centos.org/pipermail/centos/2014-September/146099.html
Ubuntu

4.1-2ubuntu3.1(Ubuntu 10.04 LTS)

4.2-2ubuntu2.2(Ubuntu 12.04 LTS)

4.3-7ubuntu1.1(Ubuntu 14.04 LTS)

http://www.ubuntu.com/usn/usn-2362-1/
Debian

4.3-9.1

4.1-3+deb6u1(DLA-59-1)

4.2+dfsg-0.1+deb7u1(DSA-3032-1)

https://security-tracker.debian.org/tracker/CVE-2014-6271
Gentoo

bash-3.1_p18-r1

bash-3.2_p52-r1

bash-4.0_p39-r1

bash-4.1_p12-r1

bash-4.2_p48-r1

https://bugs.gentoo.org/show_bug.cgi?id=CVE-2014-6271
SuSE Linux

bash-3.1-24.32.1

https://bugzilla.novell.com/show_bug.cgi?id=CVE-2014-6271

検証記事

検証・関連Tweet

更新履歴

  • 2014/09/25 AM 新規作成
  • しばらく適宜更新します