🇰🇷 한글 설명
HaPe PKH 1.1 버전에서 파일 유형 검증을 우회하여 악성 파일을 업로드할 수 있는 임의 파일 업로드 취약점이 발견되었습니다. 공격자는 aksi_foto.php, aksi_user.php, aksi_kecamatan.php 등의 엔드포인트를 통해 PHP 파일을 업로드하여 서버에서 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
해커가 허용되지 않은 파일을 몰래 서버에 올릴 수 있는 보안 구멍이 있습니다. 이 파일을 통해 해커는 서버를 마음대로 조종하거나 명령을 내릴 수 있습니다.
🇺🇸 원문 (English)
HaPe PKH 1.1 contains an arbitrary file upload vulnerability that allows authenticated attackers to upload malicious files by bypassing file type validation. Attackers can upload PHP files through multiple endpoints including aksi_foto.php, aksi_user.php, and aksi_kecamatan.php to execute arbitrary code on the server.
⚔️ 공격 벡터
인증된 공격자가 파일 확장자 검증을 우회하여 PHP 파일을 특정 엔드포인트로 업로드
🛡️ 대응 방법
파일 업로드 시 확장자 및 MIME 타입 검증을 강화하고, 업로드된 파일이 실행되지 않도록 디렉토리 권한을 제한하십시오.
🔧 검증 코드
명령어 결과에 PHP 스크립트 파일이 나타나면 해당 엔드포인트가 취약할 가능성이 있습니다.
find /var/www/html -name "aksi_*.php" -exec file {} \; | grep -E 'PHP script'