🇰🇷 한글 설명
PHP-Nuke 5.2 이하 버전의 admin.php에서 파일 업로드 시 로그인 자격증명을 검증하지 않아, 원격 공격자가 인증 없이 임의 파일을 복사/업로드하고 PHP-Nuke 설정파일을 읽을 수 있는 취약점입니다.
💡 쉬운 설명
PHP-Nuke 웹사이트의 관리자 페이지가 비밀번호 확인 없이 파일 업로드를 허용합니다. 이를 악용하면 누구든지 웹사이트의 중요한 설정 파일을 훔치거나 악성 파일을 업로드할 수 있습니다.
🇺🇸 원문 (English)
admin.php in PHP-Nuke 5.2 and earlier, except 5.0RC1, does not check login credentials for upload operations, which allows remote attackers to copy and upload arbitrary files and read the PHP-Nuke configuration file by directly calling admin.php with an upload parameter and specifying the file to copy.
📍 영향받는 시스템
PHP-Nuke 5.2 이하 버전 (5.0RC1 제외)
⚔️ 공격 벡터
admin.php에 upload 파라미터를 직접 전송하여 인증 우회 후 임의 파일 업로드/복사 수행
🛡️ 대응 방법
PHP-Nuke를 5.3 이상으로 업그레이드하거나 admin.php에 로그인 인증 검증 로직 추가
🔧 검증 코드
명령어가 업로드 성공/실패 메시지를 반환하면 취약함, 'PHP-Nuke not found'이면 설치되지 않음
curl -s 'http://target/admin.php?upload=config.php' 2>&1 | grep -iE '(success|uploaded|error)' || echo 'PHP-Nuke not found'