🇰🇷 한글 설명
Squirrel 2.2.5 및 3.x~3.1 버전의 sqclass.cpp에서 발생하는 경계 외 읽기(Out-of-bounds read) 취약점입니다. 공격자가 제어하는 스크립트를 실행할 경우 샌드박스를 우회하여 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
프로그램 내부의 안전한 구역을 벗어나 시스템의 중요한 정보를 읽거나 명령을 내릴 수 있는 심각한 결함입니다. 악성 스크립트가 포함된 게임이나 클라우드 서비스를 이용할 때 해킹을 당할 위험이 있습니다.
🇺🇸 원문 (English)
sqclass.cpp in Squirrel through 2.2.5 and 3.x through 3.1 allows an out-of-bounds read (in the core interpreter) that can lead to Code Execution. If a victim executes an attacker-controlled squirrel script, it is possible for the attacker to break out of the squirrel script sandbox even if all dangerous functionality such as File System functions has been disabled. An attacker might abuse this bug to target (for example) Cloud services that allow customization via SquirrelScripts, or distribute malware through video games that embed a Squirrel Engine.
📍 영향받는 시스템
Squirrel 2.2.5 및 3.x ~ 3.1 버전
⚔️ 공격 벡터
사용자가 공격자가 조작한 Squirrel 스크립트를 실행하도록 유도하여 샌드박스를 탈출함
🛡️ 대응 방법
Squirrel 엔진을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 2.2.5 이하 또는 3.1 이하인지 확인하여 취약 여부를 판단합니다.
squirrel_engine_version_command --version 2>/dev/null || echo 'Version check required'