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.

查看仓库
2026年12月6日尚未审核
分享
内容在请求的语言中不可用。显示英文版本。

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

    用 Rust 重写的 YARA。

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    针对 CVE-2026-43499 的一键式 Android 内核漏洞利用应用,通过内核模块加载实现权限提升,并提供偏移提取与设备端分析工具。

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher 平台,可部署伪基站 GSM 小区以拦截短信、注入消息并追踪移动设备

    732
  • 3

    Callisto

    jetp1ane/callisto

    自动化二进制漏洞分析工具,通过Ghidra反编译可执行文件,使用Semgrep扫描伪C代码,并利用GPT-3.5-Turbo验证发现以减少误报。

    610
  • 4

    opencti

    opencti-platform/opencti

    开放式网络威胁情报平台

    546
  • 5

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    414
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    413

探索所有工具

浏览我们的工具集合

查看所有工具 →