🇰🇷 한글 설명
AI 기반 코드 에디터인 Cursor의 1.7.52 이하 버전에서 내부 설정을 조작하여 원격 코드 실행(RCE)이 가능한 취약점이 발견되었습니다. Windows 환경에서 백슬래시(\)를 이용한 경로 조작 시 탐지 메커니즘이 제대로 작동하지 않아, 공격자가 사용자 승인 없이 민감한 에디터 파일을 덮어쓸 수 있습니다.
💡 쉬운 설명
Cursor 에디터에서 파일 경로를 속이는 특수 문자를 사용하면 보안 검사를 우회할 수 있는 결함이 있습니다. 이를 통해 해커가 사용자의 허락 없이 컴퓨터에 악성 코드를 실행할 수 있는 위험이 있습니다.
🇺🇸 원문 (English)
Cursor is a code editor built for programming with AI. In versions 1.7.52 and below, manipulating internal settings may lead to RCE. Cursor detects path manipulation via forward slashes (./.cursor/./././././mcp.json etc.), and requires human approval to complete the operation. However, the same kind of manipulation using backslashes was not correctly detected, allowing an attacker who had already achieved prompt injection or some other level of control to overwrite sensitive editor files without approval on Windows machines. This issue is fixed in version 2.0.
📍 영향받는 시스템
Cursor version 1.7.52 and below (Windows)
⚔️ 공격 벡터
Prompt Injection 등을 통해 백슬래시(\)를 포함한 경로 조작으로 민감한 설정 파일 덮어쓰기
🛡️ 대응 방법
Cursor 에디터를 버전 2.0 이상으로 업데이트
🔧 검증 코드
출력된 버전 번호가 2.0 미만(예: 1.7.52 이하)인지 확인하십시오.
cursor --version 2>/dev/null || echo 'Please check version manually via Help > About'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
Storage Protect Snapshot for Windows