🔍 CVE-2024-3279

9.1
CVSS Score
CRITICAL
2024-08-12
2026-06-17 07:43
✅ 완료

🇰🇷 한글 설명

mintplex-labs/anything-llm 애플리케이션의 데이터 가져오기(import) 엔드포인트에서 부적절한 접근 제어 취약점이 발견되었습니다. 공격자는 계정 없이도 임의의 데이터베이스 파일을 업로드하여 기존의 anythingllm.db 파일을 삭제하거나 변조할 수 있습니다. 이를 통해 악성 데이터를 제공하거나 사용자 정보를 탈취할 수 있습니다.

💡 쉬운 설명

로그인하지 않은 외부인이 아무나 시스템의 핵심 데이터베이스를 마음대로 바꿔치기할 수 있는 보안 구멍이 발견되었습니다. 이로 인해 가짜 정보가 입력되거나 사용자의 중요한 정보가 유출될 위험이 있습니다.

🇺🇸 원문 (English)

An improper access control vulnerability exists in the mintplex-labs/anything-llm application, specifically within the import endpoint. This vulnerability allows an anonymous attacker, without an account in the application, to import their own database file, leading to the deletion or spoofing of the existing `anythingllm.db` file. By exploiting this vulnerability, attackers can serve malicious data to users or collect information about them. The vulnerability stems from the application's failure to properly restrict access to the data-import functionality, allowing unauthorized database manipulation.

📍 영향받는 시스템

mintplex-labs/anything-llm (취약한 버전)

⚔️ 공격 벡터

인증되지 않은 공격자가 데이터 가져오기 기능을 통해 악성 데이터베이스 파일을 업로드하여 기존 파일을 덮어씀

🛡️ 대응 방법

애플리케이션을 최신 보안 패치가 적용된 버전으로 업데이트하고 데이터 가져오기 권한 설정을 강화함

🔧 검증 코드

해당 엔드포인트에 접근했을 때 인증 없이 응답이 오거나 데이터베이스 조작이 가능한지 확인

Shell / Script
curl -s http://<target-ip>:<port>/api/v1/import | grep -i 'error' || echo 'Endpoint exists'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Data REST