Skip to content
KitploitKITPLOIT
أدواتعمليات الاستغلالالمدونة
Log in
إرسال
أدواتعمليات الاستغلالالمدونة
إرسال

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

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

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

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
mindsdb-vectordb-eval-rce — Case study: MindsDB CVE-2024-45846..45851 (builtin eval on query values in integration handlers). Demo only, not for use. | Kitploit
أدوات/GitHubGitHub/ferralon-demo/mindsdb-vectordb-eval-rce
Static AnalysisVulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPapers & ResearchLearning & Education
GitHubferralon-demo/mindsdb-vectordb-eval-rce

mindsdb-vectordb-eval-rce

Case study: MindsDB CVE-2024-45846..45851 (builtin eval on query values in integration handlers). Demo only, not for use.

عرض المستودع
6 ديسمبر 2026لم تتم المراجعة بعد
مشاركة
المحتوى غير متوفر باللغة المطلوبة. عرض النسخة الإنجليزية.

MindsDB: eval() on query values in vector-database and SharePoint handlers (CVE-2024-45846 to -45851)

Case study of six eval-injection advisories (CWE-94/95) in mindsdb/mindsdb (GitHub now resolves this name to mindsdb/mindshub), all fixed by one commit: integration handlers pass query-supplied strings to Python's builtin eval; the upstream fix replaces each call with ast.literal_eval.

Demo only, not for use. This repository is a case study built from unmodified snapshots of mindsdb/mindsdb at two historical commits. It is not a fork and is not maintained. Do not install, deploy, or depend on it: the baseline branch contains code affected by the advisories below.

This branch: main holds only this index. The code is on baseline (tag poe, vulnerable) and fix (tag pone, patched).

Advisories

All six: mindsdb < 24.7.4.1 (lower bound varies), CWE-94/CWE-95, "MindsDB Eval Injection vulnerability", fixed by commit 11a4db792a (PR #9533, "Replace eval with literal_eval", merged 2024-07-24).

CVEGHSAQuery form (per advisory)eval call at baseline (upstream ff120b08f4)
CVE-2024-45846GHSA-wcjw-3v6p-4v3rSELECT … WHERE, Weaviate engineWeaviateDBHandler.select, mindsdb/integrations/handlers/weaviate_handler/weaviate_handler.py:338
CVE-2024-45847GHSA-crmg-rp64-5cm3UPDATE, several vector-store enginesVectorStoreHandler._dispatch_update, mindsdb/integrations/libs/vectordatabase_handler.py:245
CVE-2024-45848GHSA-9gq6-6936-885wINSERT, ChromaDB engineChromaDBHandler.insert, mindsdb/integrations/handlers/chromadb_handler/chromadb_handler.py:332
CVE-2024-45849GHSA-c85f-pcx6-2ghmINSERT (list creation), SharePoint engineSharepointAPI.create_a_list, mindsdb/integrations/handlers/sharepoint_handler/sharepoint_api.py:252 and :255
CVE-2024-45850GHSA-v6g6-3cm3-vf6cINSERT (site column creation), SharePoint engineSharepointAPI.create_a_site_column, sharepoint_api.py:413
CVE-2024-45851GHSA-wf9g-c67g-h4chINSERT (list item creation), SharePoint engineSharepointAPI.create_an_item, sharepoint_api.py:577

Ingress at baseline

The HTTP SQL endpoint: Flask-RESTX namespace sql (mindsdb/api/http/namespaces/configs/sql.py:3, registered at mindsdb/api/http/initialize.py:224); @ns_conf.route("/query") on class Query with handler post (mindsdb/api/http/namespaces/sql.py:22-30). post reads the JSON field query (line 31) and calls FakeMysqlProxy().process_query(query) (line 49).

From process_query, a query reaches an integration handler through MindsDB's SQL planner and executor and handlers loaded per database engine at run time. This README does not assert a specific static call chain from the ingress to each eval; the advisories describe the query forms that reach them. The handlers are only active when the corresponding integration is installed (per the advisories).

What the fix changes

At 11a4db792a, each eval(...) above is ast.literal_eval(...) on the same statement (lines shift by one where import ast was added): e.g. vectordatabase_handler.py:245, weaviate_handler.py:339. No builtin eval call remains in the four changed files; the handlers and the ingress are unchanged.

Provenance

This is not a fork: a fresh repository whose code branches hold upstream source snapshots, with no upstream history and no upstream remote.

BranchTagUpstream commitDateSnapshot commitSnapshot tree
baselinepoeff120b08f42024-07-238e6ff4c1ba8fb72eaad7a8e195ef2a20647d491b4f91fdb2b0aaa8bce5464e868c4757c06d4452b1
fixpone11a4db792a2024-07-244471ebcf4a3507288da6f5a731beaaeaeed6081f2d55a54d85980599cd8f163b17fd5e4c6ede119e

Each snapshot commit is the upstream tree at that commit with one change: .github/workflows/ (9 files) is removed so that upstream CI does not run here. No other file is added, removed, or edited. The fix snapshot's parent is the baseline snapshot, so the diff between the two snapshot commits (compare) is exactly the upstream fix commit's diff. On each code branch, a second commit replaces upstream's README.md with a branch-specific version of this file; upstream's README is in the snapshot commit.

To check a snapshot against upstream from a clone of this repository:

git fetch https://github.com/mindsdb/mindsdb ff120b08f45a4b15a313f7723ea0f2d8aa4be87c
git diff --stat FETCH_HEAD 8e6ff4c1ba8fb72eaad7a8e195ef2a20647d491b   # lists only .github/workflows/*

Tags

تنزيل الأداة

أدوات ذات صلة

  • ghidra

    Ghidra هو إطار عمل لهندسة عكسية للبرمجيات (SRE)

  • capa

    أداة تحليل ثابت وديناميكي قائمة على قواعد تحدد القدرات في ملفات PE وELF و.NET وshellcode، وتربطها بتقنيات MITRE ATT&CK لفرز البرامج الضارة.

  • yara-x

    إعادة كتابة لـ YARA بلغة Rust.

الأكثر شعبية

عرض الكل →

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

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # تطبيق GhostLock للتنفيذ بنقرة واحدة (CVE-2026-43499)

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    منصة IMSI Catcher تنشر خلية GSM مارقة لاعتراض الرسائل النصية القصيرة وحقن الرسائل وتتبع الأجهزة المحمولة

    732
  • 3

    Callisto

    jetp1ane/callisto

    أداة تحليل ثغرات ثنائية آلية تقوم بفك ترجمة الملفات التنفيذية عبر Ghidra، ومسح كود شبه-C باستخدام Semgrep، والتحقق من النتائج باستخدام GPT-3.5-Turbo لتقليل الإيجابيات الكاذبة.

    610
  • 4

    opencti

    opencti-platform/opencti

    منصة مفتوحة لاستخبارات التهديدات السيبرانية

    546
  • 5

    ARTEX

    baarai/artex

    منصة اختبار اختراق مستقلة متعددة الوكلاء تعتمد على LLM، مع وكلاء تخطيط وتنفيذ، ومخططات للأصول والاستكشاف، وتسجيل حركة مرور MITM، وإعادة اختبار الثغرات.

    414
  • 6

    DFRoot

    a2333c/dfroot

    أداة root لنظام Android لهاتف Samsung Galaxy S25 Ultra (SM-S938B) تقوم بتسلسل DirtyFrag CVE-2026-43284 وCVE-2026-43499 للحصول على صلاحيات root تلقائيًا عند الإقلاع عبر KernelSU.

    413

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

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

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