🇰🇷 한글 설명
phpChess Community Edition 2.0에서 다수의 PHP 원격 파일 포함(RFI) 취약점이 발견되었습니다. 공격자는 includes/language.php의 config 매개변수 또는 skins/phpchess 디렉토리의 layout 관련 파일들의 Root_Path 매개변수를 조작하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
phpChess 웹 애플리케이션에서 공격자가 특정 URL 매개변수를 조작하면 서버에서 자신의 악성 파일을 실행하게 만들 수 있는 결함입니다. 일반적인 웹 공격자는 이 기법을 사용해 서버를 장악하거나 데이터를 탈취할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in phpChess Community Edition 2.0 allow remote attackers to execute arbitrary PHP code via a URL in (1) the config parameter to includes/language.php, or the Root_Path parameter to (2) layout_admin_cfg.php, (3) layout_cfg.php, or (4) layout_t_top.php in skins/phpchess/. NOTE: vector 1 has been disputed by CVE, since the code is defined within a function that is not called from within includes/language.php.
📍 영향받는 시스템
phpChess Community Edition 2.0
⚔️ 공격 벡터
HTTP GET/POST 요청의 config 및 Root_Path 매개변수를 통한 원격 파일 경로 주입
🛡️ 대응 방법
phpChess를 최신 패치 버전으로 즉시 업그레이드하거나 입력 검증을 강화하여 외부 파일 경로 포함을 차단
🔧 검증 코드
파일이 발견되면 취약한 phpChess 설치가 있는 것이며, 업그레이드 필요. 파일이 없으면 이 취약점으로부터 안전
find / -path '*/skins/phpchess/*' -name 'layout*.php' 2>/dev/null | head -5