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

    Rule-based static and dynamic analysis tool that identifies capabilities in PE, ELF, .NET, and shellcode files, mapping them to MITRE ATT&CK techniques for malware triage.

  • yara-x

    Rust로 재작성된 YARA.

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    SMS를 가로채고, 메시지를 주입하며, 모바일 기기를 추적하기 위해 악성 GSM 셀을 배포하는 IMSI Catcher 플랫폼

    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

    삼성 Galaxy S25 Ultra(SM-S938B)용 Android 루트 도구로, DirtyFrag CVE-2026-43284와 CVE-2026-43499를 연쇄하여 KernelSU를 통해 부팅 시 자동으로 루트 권한을 획득합니다.

    413

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →