🇰🇷 한글 설명
PHP Address 0.2f 이전 버전의 globals.php에서 발견된 원격 코드 실행 취약점입니다. allow_url_fopen과 register_globals 설정이 활성화된 환경에서 LangCookie 매개변수를 통해 공격자가 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
오래된 PHP Address 프로그램이 쿠키 값을 검증하지 않아, 악의적인 코드가 서버에서 실행될 수 있습니다. PHP 설정이 특정 방식으로 되어있을 때 위험합니다.
🇺🇸 원문 (English)
globals.php in PHP Address before 0.2f, with the PHP allow_url_fopen and register_globals variables enabled, allows remote attackers to execute arbitrary PHP code via a URL to the code in the LangCookie parameter.
📍 영향받는 시스템
PHP Address 0.2f 이전 버전
⚔️ 공격 벡터
LangCookie 매개변수를 통한 URL 기반 원격 코드 실행 (allow_url_fopen 및 register_globals 활성화 필요)
🛡️ 대응 방법
PHP Address를 0.2f 이상으로 업그레이드하거나, register_globals를 비활성화하고 allow_url_fopen을 제한하세요.
🔧 검증 코드
결과가 나타나면 register_globals가 활성화된 상태이므로 즉시 비활성화 필요합니다. 아무 결과도 없으면 안전합니다.
grep -r 'register_globals' /etc/php*/*/php.ini 2>/dev/null | grep -i 'on'