🔍 CVE-2026-54629

7.5
CVSS Score
HIGH
2026-09-14
2026-09-30 17:51
✅ 완료

🇰🇷 한글 설명

Anyquery 0.4.5 미만 버전에서 발생하는 취약점으로, 인증 없이 MySQL 호환 포트를 통해 파일 기반 SQLite 가상 테이블 모듈에 접근할 수 있습니다. 공격자는 CREATE VIRTUAL TABLE 문을 사용하여 서버 프로세스의 권한으로 로컬 파일 경로를 지정하고, 시스템 설정이나 자격 증명, 개인 키와 같은 민감한 파일 내용을 쿼리하여 탈취할 수 있습니다.

💡 쉬운 설명

데이터베이스 엔진의 보안 설정 미비로 인해, 외부 공격자가 서버 내부의 중요한 파일들을 마치 데이터베이스 테이블처럼 읽어갈 수 있는 문제입니다. 이를 통해 서버의 비밀번호나 개인 키 같은 민감한 정보가 유출될 위험이 있습니다.

🇺🇸 원문 (English)

Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, anyquery server exposes file-backed SQLite virtual table modules such as csv_reader and log_reader through its MySQL-compatible server port without authentication, authorization, or directory restrictions. A remote attacker can use SQLite CREATE VIRTUAL TABLE statements to provide a local path to these modules, which use hashicorp/go-getter under the Anyquery server process and return the selected file contents as queryable table rows. The disclosure is limited only by the filesystem permissions of the server process and can expose system configuration, credentials, and private keys. This issue is fixed in version 0.4.5.

📍 영향받는 시스템

Anyquery 0.4.5 미만 버전

⚔️ 공격 벡터

인증되지 않은 원격 공격자가 MySQL 호환 포트를 통해 SQLite 가상 테이블 생성 명령을 전송하여 로컬 파일에 접근

🛡️ 대응 방법

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:H/I:N/A:N

💻 영향받는 소프트웨어

MySQL