🇰🇷 한글 설명
GuppY 4.5.16 이전 버전의 error.php에서 정적 코드 주입 취약점이 존재합니다. 공격자는 REMOTE_ADDR 쿠키나 msg 배열 요소를 통해 data/ 디렉토리의 .inc 파일에 임의의 PHP 코드를 주입할 수 있습니다.
💡 쉬운 설명
GuppY 웹사이트 관리 도구에서 쿠키를 통해 PHP 코드를 삽입할 수 있는 결함이 있습니다. 공격자는 이를 악용해 웹사이트를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
Multiple static code injection vulnerabilities in error.php in GuppY 4.5.16 and earlier allow remote attackers to inject arbitrary PHP code into a .inc file in the data/ directory via (1) a REMOTE_ADDR cookie or (2) a cookie specifying an element of the msg array with an error number in the first dimension and 0 in the second dimension, as demonstrated by msg[999][0].
📍 영향받는 시스템
GuppY 4.5.16 및 그 이전 모든 버전
⚔️ 공격 벡터
REMOTE_ADDR 쿠키 또는 msg[배열번호][0] 형식의 쿠키를 통한 PHP 코드 주입
🛡️ 대응 방법
GuppY를 4.5.17 이상으로 즉시 업그레이드하거나 공식 보안 패치 적용
🔧 검증 코드
error.php 파일에서 REMOTE_ADDR이 발견되면 취약점이 있을 가능성이 높으며, 파일이 없으면 GuppY가 미설치되었거나 이미 패치된 상태입니다.
find /var/www/html -name error.php -type f 2>/dev/null | xargs grep -l "REMOTE_ADDR" 2>/dev/null | head -1