🇰🇷 한글 설명
Auxilium RateMyPet의 upload_banners.php에서 인증 없이 파일을 업로드할 수 있는 취약점이 존재합니다. 파일 타입 검증이 없어 악의적인 PHP 파일을 웹 접근 가능한 /banners/ 디렉토리에 직접 업로드할 수 있으며, 이는 원격 코드 실행으로 이어집니다.
💡 쉬운 설명
공격자가 로그인 없이 웹사이트의 배너 업로드 기능을 악용해 악성 코드를 포함한 파일을 서버에 업로드할 수 있습니다. 업로드된 파일이 웹에서 바로 실행되어 서버가 완전히 손상됩니다.
🇺🇸 원문 (English)
Auxilium RateMyPet contains an unauthenticated arbitrary file upload vulnerability in upload_banners.php. The banner upload feature fails to validate file types or enforce authentication, allowing remote attackers to upload malicious PHP files. These files are stored in a web-accessible /banners/ directory and can be executed directly, resulting in remote code execution.
📍 영향받는 시스템
Auxilium RateMyPet (모든 버전, 특정 버전 미공표)
⚔️ 공격 벡터
POST 요청으로 인증 없이 upload_banners.php에 PHP 파일을 전송하고 /banners/ 경로에서 직접 실행
🛡️ 대응 방법
업로드 전 사용자 인증 확인, 파일 타입 화이트리스트 검증, 업로드 파일을 웹 접근 불가능한 경로에 저장, PHP 실행 권한 제거
🔧 검증 코드
파일이 발견되면 해당 Auxilium RateMyPet 설치본이 존재하며 취약 가능성 있음, 발견 안 되면 설치되지 않음
find / -name 'upload_banners.php' 2>/dev/null | head -5