🇰🇷 한글 설명
Redsea Cloud eHR의 PtFjk.mob 서블릿 엔드포인트에서 인증되지 않은 공격자가 임의의 파일을 업로드하여 원격 코드 실행(RCE)을 수행할 수 있는 취약점입니다. 공격자는 이미지 파일로 위장한 JSP 웹쉘을 업로드하여 확장자 및 MIME 타입 검증을 우회하고, 예측 가능한 경로에 저장된 악성 파일을 실행할 수 있습니다.
💡 쉬운 설명
해커가 로그인 없이도 가짜 이미지 파일을 서버에 올려서 서버를 마음대로 조종할 수 있는 위험한 구멍이 발견되었습니다. 이 파일을 통해 해커는 서버의 제어권을 완전히 뺏을 수 있습니다.
🇺🇸 원문 (English)
Redsea Cloud eHR contains an arbitrary file upload vulnerability that allows unauthenticated attackers to achieve remote code execution by uploading malicious files through the PtFjk.mob servlet endpoint. Attackers can submit a multipart POST request with a JSP webshell disguised using a spoofed image/jpeg Content-Type to bypass the absence of extension and MIME type validation, with the uploaded file stored at a predictable path under the uploadfile directory and executed directly by the web server. Exploitation evidence was first observed by the Shadowserver Foundation on 2024-11-03 (UTC).
📍 영향받는 시스템
Redsea Cloud eHR (PtFjk.mob 서블릿 엔드포인트 사용 버전)
⚔️ 공격 벡터
인증되지 않은 상태에서 multipart POST 요청을 통해 위장된 JSP 웹쉘 업로드
🛡️ 대응 방법
해당 엔드포인트의 파일 업로드 로직에 대한 확장자 및 MIME 타입 검증 강화 및 접근 제어 적용
🔧 검증 코드
해당 URL에 대한 HTTP 응답 코드가 200 OK이며 파일 업로드가 허용되는지 확인
curl -I -X POST http://<target_ip>/PtFjk.mob