🔍 CVE-2026-51936

0.0
CVSS Score
UNKNOWN
2026-09-30
2026-10-02 13:17
✅ 완료

🇰🇷 한글 설명

Zetetic SQLCipher 4.15.0 미만 버전에서 SQL 인젝션 취약점이 발견되었습니다. sqlcipher_export 함수가 소스 데이터베이스 이름을 처리하는 과정에서 보안 제한을 우회할 수 있으며, 이를 통해 sqlite_schema 테이블을 직접 수정하거나 데이터베이스를 손상시킬 수 있습니다.

💡 쉬운 설명

데이터베이스를 암호화하거나 복사하는 기능에 허점이 있어, 공격자가 악의적인 명령을 입력해 데이터베이스를 망가뜨릴 수 있습니다. 이로 인해 중요한 데이터가 변조되거나 삭제될 위험이 있습니다.

🇺🇸 원문 (English)

Zetetic SQLCipher before 4.15.0 allows SQL injection. The sqlcipher_export convenience function can be used to copy the contents of one attached database into another. It is most often used to convert between plaintext and encrypted databases. It needs to do dynamic schema manipulation, and thus the function temporarily clears defensive restrictions during operation. A vulnerability in the handling of the source database name parameter made it possible for a caller to supply a crafted source name, which could execute statements that defensive mode would otherwise block. This could allow direct modifications to the sqlite_schema table and database corruption. SQLCipher 4.15.0 now strictly validates the source database name and prevents the bypass.

📍 영향받는 시스템

Zetetic SQLCipher 4.15.0 미만 모든 버전

⚔️ 공격 벡터

sqlcipher_export 함수의 소스 데이터베이스 이름 파라미터에 조작된 SQL 구문을 주입하여 공격

🛡️ 대응 방법

SQLCipher를 최신 버전인 4.15.0 이상으로 업데이트하여 소스 데이터베이스 이름 검증 기능을 적용해야 함

🔧 검증 코드

출력된 버전 번호가 4.15.0 미만인지 확인하여 취약 여부를 판단합니다.

Shell / Script
sqlcipher --version 2>/dev/null || echo 'SQLCipher not found'

💻 영향받는 소프트웨어

Spring Data REST