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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2021-23394 — 脆弱な elfinder バージョンを nginx と apache サーバーの両方にセットアップするための Docker コンテナ。脆弱性の POC テストに使用できます。 | Kitploit
ツール/GitHubGitHub/0xnemian/cve-2021-23394
コンテナセキュリティ脆弱性分析ウェブアプリケーション悪用ペネトレーションテスト学習と教育ラボと実践
GitHub0xnemian/cve-2021-23394

CVE-2021-23394

脆弱な elfinder バージョンを nginx と apache サーバーの両方にセットアップするための Docker コンテナ。脆弱性の POC テストに使用できます。

リポジトリを見る
8ヶ月前未レビュー

人気

すべて見る →

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

すべてのツールを探索

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

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

elFinder CVE-2021-23394 再現セットアップ

このリポジトリには、CVE-2021-23394(elFinderの任意ファイル実行)の再現セットアップをDockerで提供します。脆弱なバージョンと修正済みバージョンをApacheとNginxで比較する4つの環境を構築します。

概要

セットアップには以下が含まれます:

  1. Apache 脆弱版(ポート 8080):elFinder 2.1.57 on Apache
  2. Apache 修正版(ポート 8081):elFinder 2.1.66 on Apache
  3. Nginx 脆弱版(ポート 8082):elFinder 2.1.57 on Nginx
  4. Nginx 修正版(ポート 8083):elFinder 2.1.66 on Nginx

前提条件

  • Docker
  • Nuclei(テスト用)

セットアップ

  1. セットアップスクリプトに実行権限を付与します(まだの場合):

    root@kitploit:~
    chmod +x setup_containers.sh
    
  2. セットアップスクリプトを実行します:

    root@kitploit:~
    ./setup_containers.sh
    

    これによりDockerイメージがビルドされ、コンテナが起動します。

使用法 / 確認

ブラウザで以下のURLからelFinderインターフェースにアクセスできます:

  • http://localhost:8080/elfinder/elfinder.html
  • http://localhost:8081/elfinder/elfinder.html
  • http://localhost:8082/elfinder/elfinder.html
  • http://localhost:8083/elfinder/elfinder.html

Nucleiでのテスト

脆弱性(または修正)を確認するには、該当テンプレートと共にNucleiを使用します。

以下のコマンドを実行します(path-to-nuclei-templates をテンプレートディレクトリの実際のパスに置き換えてください):

root@kitploit:~
# Apache 脆弱版のテスト(脆弱であるべき)
nuclei -t path-to-nuclei-templates/http/cves/2021/CVE-2021-23394.yaml -u http://localhost:8080

# Apache 修正版のテスト(脆弱ではないべき)
nuclei -t path-to-nuclei-templates/http/cves/2021/CVE-2021-23394.yaml -u http://localhost:8081

# Nginx 脆弱版のテスト(脆弱であるべき)
nuclei -t path-to-nuclei-templates/http/cves/2021/CVE-2021-23394.yaml -u http://localhost:8082

# Nginx 修正版のテスト(脆弱ではないべき)
nuclei -t path-to-nuclei-templates/http/cves/2021/CVE-2021-23394.yaml -u http://localhost:8083

または、targets.txt ファイルを作成して一度にすべてテストすることもできます:

root@kitploit:~
echo -e "http://localhost:8080\nhttp://localhost:8081\nhttp://localhost:8082\nhttp://localhost:8083" > targets.txt
nuclei -t path-to-nuclei-templates/http/cves/2021/CVE-2021-23394.yaml -l targets.txt

期待される結果:

  • ポート 8080 および 8082(脆弱版): 脆弱と識別されるべき。
  • ポート 8081 および 8083(修正版): 脆弱と識別されるべきではない。

クリーンアップ

コンテナを停止して削除するには、スクリプト内のクリーンアップコマンドを実行するか、手動で行います:

root@kitploit:~
docker rm -f elfinder-apache-vuln elfinder-apache-patched elfinder-nginx-vuln elfinder-nginx-patched
ツールをダウンロード