🇰🇷 한글 설명
Naig 0.5.2 이하 버전의 index.php에서 this_path 파라미터를 통한 원격 파일 포함(RFI) 취약점입니다. 공격자가 임의의 PHP 코드를 실행할 수 있습니다. 다만 this_path가 사용 전에 정의되어 실제 취약성을 의문시하는 보안 전문가도 있습니다.
💡 쉬운 설명
Naig 웹 애플리케이션의 this_path라는 설정 부분에 원격 파일을 삽입할 수 있는 보안 허점이 있습니다. 공격자가 이를 악용하면 웹 서버에서 악의적인 PHP 코드를 실행시킬 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in index.php in Naig 0.5.2 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the this_path parameter. NOTE: a reliable third party disputes this vulnerability because this_path is defined before use
📍 영향받는 시스템
Naig 0.5.2 이하 모든 버전
⚔️ 공격 벡터
HTTP 요청의 this_path 파라미터에 외부 PHP 파일 URL을 입력하여 원격 코드 실행
🛡️ 대응 방법
Naig를 최신 버전으로 업그레이드하거나 input_filter를 통해 this_path 파라미터 검증 적용
🔧 검증 코드
결과가 반환되면 Naig 설치 위치를 확인하고, this_path 파라미터가 입력값을 검증하는지 소스코드 검토 필요
find / -name 'index.php' -type f -exec grep -l 'this_path' {} \; 2>/dev/null | head -1