🇰🇷 한글 설명
Sam Crew MyBlog 1.0~1.6 버전의 games.php 파일에 존재하는 PHP 원격 파일 포함(RFI) 취약점입니다. 공격자가 id 파라미터를 통해 악의적인 URL을 삽입하여 원격에서 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
오래된 블로그 프로그램의 파일 열기 기능에 결함이 있어서, 해커가 외부 서버의 악성 코드를 실행시킬 수 있는 문제입니다. 입력값을 제대로 검증하지 않아 발생한 보안 결함입니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in games.php in Sam Crew MyBlog, possibly 1.0 through 1.6, allows remote attackers to execute arbitrary PHP code via a URL in the id parameter, a different vector than CVE-2007-1968. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
Sam Crew MyBlog v1.0 ~ v1.6
⚔️ 공격 벡터
http://target/games.php?id=[remote_url] 형식의 URL을 통한 파라미터 조작으로 원격 파일 포함 및 실행
🛡️ 대응 방법
MyBlog 최신 버전으로 업그레이드 또는 id 파라미터에 대한 엄격한 입력 검증 및 경로 traversal 방지 필요
🔧 검증 코드
games.php 파일에서 id 파라미터를 직접 include/require에 사용하는 코드가 발견되면 취약점이 존재하는 것으로 판단됩니다.
find /var/www -name 'games.php' 2>/dev/null | xargs grep -l 'include.*\$_GET\[.*id' 2>/dev/null