🔍 CVE-2008-3294

3.7
CVSS Score
LOW
2008-07-24
2026-06-16 22:55
✅ 완료

🇰🇷 한글 설명

Vim 5.0~7.1 버전의 Python 지원 빌드에서 Makefile-conf 임시 파일의 소유권과 권한이 부적절하게 설정되어 발생하는 취약점입니다. 로컬 사용자가 빌드 과정 중 이 파일을 조작하거나 미리 제한된 권한으로 생성하여 임의의 코드를 실행할 수 있습니다.

💡 쉬운 설명

Vim 설치 중에 생성되는 임시 파일의 권한이 제대로 보호되지 않아서, 같은 시스템의 일반 사용자가 악성 코드를 몰래 삽입할 수 있습니다. 빌드 환경에서만 영향을 받습니다.

🇺🇸 원문 (English)

src/configure.in in Vim 5.0 through 7.1, when used for a build with Python support, does not ensure that the Makefile-conf temporary file has the intended ownership and permissions, which allows local users to execute arbitrary code by modifying this file during a time window, or by creating it ahead of time with permissions that prevent its modification by configure.

📍 영향받는 시스템

Vim 5.0 ~ 7.1 (Python 지원 빌드)

⚔️ 공격 벡터

로컬 사용자가 빌드 중 Makefile-conf 파일 권한을 악용한 임의 코드 실행

🛡️ 대응 방법

Vim 7.2 이상으로 업그레이드 또는 빌드 시 --disable-pythoninterp 옵션 사용

🔧 검증 코드

VIM 버전과 python 지원 여부 표시. python이 +로 시작하면 Python 지원 활성화 상태

Shell / Script
vim --version | grep -E '^VIM|+python' | head -2

📊 CVSS Vector String

CVSS Vector
AV:L/AC:H/Au:N/C:P/I:P/A:P

💻 영향받는 소프트웨어

Python