🇰🇷 한글 설명
eZoneScripts Living Local 1.1의 editimage.php에서 파일 업로드 시 확장자 제한이 없어 인증된 관리자가 PHP 파일 등 실행 가능한 파일을 업로드할 수 있습니다. 업로드된 파일에 직접 접근하여 서버에서 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
관리자만 파일을 업로드할 수 있지만, 위험한 프로그램 파일도 올릴 수 있어서 나쁜 사람이 접근하면 서버를 장악할 수 있습니다. 파일 종류를 체크하지 않아서 생기는 문제입니다.
🇺🇸 원문 (English)
Unrestricted file upload vulnerability in editimage.php in eZoneScripts Living Local 1.1 allows remote authenticated administrators to execute arbitrary PHP code by uploading a file with an executable extension, then accessing it via a direct request to the uploaded file.
📍 영향받는 시스템
eZoneScripts Living Local 1.1
⚔️ 공격 벡터
인증된 관리자가 editimage.php의 파일 업로드 기능을 통해 PHP 실행 파일을 업로드 후 웹브라우저로 직접 접근
🛡️ 대응 방법
1.1 이후 버전으로 업그레이드하거나 파일 업로드 시 whitelist 기반 확장자 검증 및 업로드 디렉토리 실행 권한 제거
🔧 검증 코드
editimage.php 파일 경로가 표시되면 Living Local이 설치되어 있고, 파일 내용에서 업로드 검증 로직이 없으면 취약점이 존재함
find / -name 'editimage.php' -type f 2>/dev/null | head -1