🇰🇷 한글 설명
Google App Engine Python SDK 1.5.4 이전 버전의 샌드박스 환경이 os.popen 호출을 제대로 제한하지 못하여 로컬 사용자가 의도된 접근 제한을 우회할 수 있다. _ah/admin/interactive/execute의 code 매개변수 내 dev_appserver.RestrictedPathFunction._original_os 참조를 통해 임의의 명령어를 실행 가능하다.
💡 쉬운 설명
구글 개발 서버의 보안 샌드박스가 제대로 작동하지 않아 로컬 공격자가 제한된 명령을 우회하고 임의 코드를 실행할 수 있다. 관리자 인터페이스를 통해 특수한 요청을 보내면 서버가 공격자의 명령을 실행하게 된다.
🇺🇸 원문 (English)
The sandbox environment in the Google App Engine Python SDK before 1.5.4 does not properly prevent os.popen calls, which allows local users to bypass intended access restrictions and execute arbitrary commands via a dev_appserver.RestrictedPathFunction._original_os reference within the code parameter to _ah/admin/interactive/execute, a different vulnerability than CVE-2011-1364.
📍 영향받는 시스템
Google App Engine Python SDK < 1.5.4
⚔️ 공격 벡터
Local attacker sends crafted code parameter containing os.popen references to _ah/admin/interactive/execute endpoint to bypass sandbox restrictions
🛡️ 대응 방법
Update Google App Engine Python SDK to version 1.5.4 or later
🔧 검증 코드
버전이 1.5.4 이상이면 패치됨. 1.5.4 미만이거나 설치되지 않았으면 SDK 업그레이드 필요.
pip show google-appengine 2>/dev/null | grep Version || echo 'SDK not installed'