🇰🇷 한글 설명
Gila CMS 2.0.0 이전 버전에서 User-Agent 헤더를 통해 PHP 코드를 주입하여 shell_exec() 함수로 임의의 시스템 명령어를 실행할 수 있는 원격 코드 실행 취약점이 존재합니다. 인증 없이 공격자가 관리자 엔드포인트로 조작된 요청을 전송하여 시스템을 완전히 제어할 수 있습니다.
💡 쉬운 설명
Gila CMS 웹사이트의 보안 문제로, 누구나 특정 메시지를 보내서 서버에서 원하는 명령어를 실행할 수 있습니다. 마치 원격조종으로 컴퓨터를 완전히 제어하는 것과 같습니다.
🇺🇸 원문 (English)
Gila CMS versions prior to 2.0.0 contain a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary system commands through manipulated HTTP headers. Attackers can inject PHP code in the User-Agent header with shell_exec() to run system commands by sending crafted requests to the admin endpoint.
📍 영향받는 시스템
Gila CMS 버전 2.0.0 이전 모든 버전
⚔️ 공격 벡터
비인증 공격자가 HTTP User-Agent 헤더에 PHP 코드를 주입하여 관리자 엔드포인트에 요청 전송
🛡️ 대응 방법
Gila CMS를 2.0.0 이상으로 즉시 업그레이드
🔧 검증 코드
HTTP 상태 코드 확인: 401/403은 보호됨, 200/301은 취약할 가능성, 버전 정보가 있으면 Gila CMS 버전 확인
curl -I https://target-site/admin 2>/dev/null | head -1