🔍 CVE-2026-50006

9.1
CVSS Score
CRITICAL
2026-09-14
2026-09-30 17:51
✅ 완료

🇰🇷 한글 설명

Anyquery 0.4.5 미만 버전에서 발생하는 취약점으로, 인증되지 않은 사용자가 MySQL 호환 포트를 통해 SQLite의 ATTACH DATABASE 기능을 악용할 수 있습니다. 공격자는 서버 프로세스가 쓰기 권한을 가진 경로에 임의의 데이터베이스 파일을 생성하거나 덮어써서 파일 시스템의 무결성을 해치고 서비스 거부(DoS)를 유발할 수 있습니다.

💡 쉬운 설명

해커가 인증 없이 데이터베이스 명령을 보내 서버 내의 중요한 파일을 마음대로 만들거나 수정할 수 있는 보안 약점입니다. 이로 인해 시스템이 멈추거나, 특정 조건에서 해커가 서버를 완전히 장악할 위험이 있습니다.

🇺🇸 원문 (English)

Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, anyquery server forwards unauthenticated SQL from its MySQL-compatible server port to SQLite without restricting ATTACH DATABASE filesystem targets. A remote attacker can select any path writable by the Anyquery server process, cause SQLite to create a database file there, and place attacker-controlled table content in that file. This permits arbitrary file creation or overwrite, causing filesystem integrity loss and denial of service; remote code execution is possible only when another service interprets the written file or the process has a suitably privileged writable target. This issue is fixed in version 0.4.5.

📍 영향받는 시스템

Anyquery version < 0.4.5

⚔️ 공격 벡터

인증되지 않은 원격 공격자가 MySQL 호환 포트를 통해 악의적인 SQL ATTACH DATABASE 명령을 전송

🛡️ 대응 방법

Anyquery를 최신 버전인 0.4.5 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 0.4.5 미만의 버전 번호가 출력되면 취약한 버전이 설치된 상태입니다.

Shell / Script
anyquery --version 2>/dev/null | grep -E '0\.[0-4]\.[0-4]'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

💻 영향받는 소프트웨어

MySQL