🇰🇷 한글 설명
Redeight CMS 1.0 버전에서 인증된 공격자가 임의의 파일을 업로드할 수 있는 취약점이 발견되었습니다. 공격자는 파일 확장자와 MIME 타입을 검증하지 않는 점을 악용하여 PHP 스크립트를 업로드하고 원격 코드 실행(RCE)을 수행할 수 있습니다.
💡 쉬운 설명
관리자 권한을 가진 사용자가 악성 파일을 서버에 몰래 올릴 수 있는 보안 구멍이 있습니다. 이 파일을 통해 해커가 서버를 마음대로 조종할 수 있게 됩니다.
🇺🇸 원문 (English)
An Unrestricted File Upload vulnerability in Redeight CMS version 1.0 allows authenticated attackers to achieve Remote Code Execution via the POST "/admin/index.php?module=pages&mode=FileAdd" endpoint. The application fails to validate file extensions and MIME types, permitting the upload of arbitrary PHP scripts to the publicly accessible "/uploads/files/" directory where they can be executed directly by the web server.
📍 영향받는 시스템
Redeight CMS version 1.0
⚔️ 공격 벡터
인증된 사용자가 /admin/index.php?module=pages&mode=FileAdd 엔드포인트를 통해 악성 PHP 파일을 업로드
🛡️ 대응 방법
파일 업로드 시 확장자 및 MIME 타입을 엄격히 검증하도록 코드를 수정하고, 업로드 디렉토리의 실행 권한을 제거해야 합니다.
🔧 검증 코드
응답 결과에 Redeight CMS 관련 정보가 포함되어 있다면 해당 취약한 버전이 설치되어 있을 가능성이 높습니다.
curl -s http://<target_ip>/admin/index.php?module=pages&mode=FileAdd | grep -i 'Redeight'
💻 영향받는 소프트웨어
IBM WebSphere Application Server