🇰🇷 한글 설명
Google App Engine Python SDK 1.5.4 이전 버전의 FakeFile 구현이 파일 열기를 제대로 제어하지 못하여, 로컬 사용자가 _ah/admin/interactive/execute의 code 파라미터를 조작하여 ALLOWED_MODES와 ALLOWED_DIRS를 변경함으로써 임의의 파일을 생성할 수 있는 취약점입니다.
💡 쉬운 설명
Google App Engine의 파일 보안 체크가 제대로 작동하지 않아, 로컬 사용자가 원하지 않는 위치에 파일을 만들 수 있습니다. 코드 실행 기능을 악용하여 접근 제한을 우회할 수 있습니다.
🇺🇸 원문 (English)
The FakeFile implementation in the sandbox environment in the Google App Engine Python SDK before 1.5.4 does not properly control the opening of files, which allows local users to bypass intended access restrictions and create arbitrary files via ALLOWED_MODES and ALLOWED_DIRS changes within the code parameter to _ah/admin/interactive/execute, a different vulnerability than CVE-2011-1364.
📍 영향받는 시스템
Google App Engine Python SDK 버전 1.5.4 이전
⚔️ 공격 벡터
_ah/admin/interactive/execute 엔드포인트를 통해 ALLOWED_MODES/ALLOWED_DIRS 변경 코드 주입
🛡️ 대응 방법
Google App Engine Python SDK를 1.5.4 이상으로 업그레이드
🔧 검증 코드
출력된 버전이 1.5.4 이상이면 패치됨, 미만이거나 SDK를 찾을 수 없으면 업그레이드 필요
python -c "import appengine; print(appengine.__version__)" 2>/dev/null || find ~/.local ~/.config -name 'app_engine_sdk' -type d 2>/dev/null | head -1