🇰🇷 한글 설명
Joomla! Expose RC35 이하 버전의 uploadimg.php 파일이 JPEG이 아닌 파일 업로드 시도 시 오류 메시지를 표시하지만 프로세스를 종료하지 않는 취약점이 있습니다. 이 결함을 통해 공격자는 임의의 PHP 코드를 img/ 폴더에 업로드하여 실행할 수 있습니다.
💡 쉬운 설명
Joomla 웹사이트의 파일 업로드 기능이 제대로 된 파일 검사를 하지 않아, 해커가 악성 파일을 업로드할 수 있습니다. 업로드된 파일을 실행하면 웹사이트 전체를 제어할 수 있게 됩니다.
🇺🇸 원문 (English)
uploadimg.php in the Expose RC35 and earlier (com_expose) component for Joomla! sends an error message but does not exit when it detects an attempt to upload a non-JPEG file, which allows remote attackers to upload and execute arbitrary PHP code in the img/ folder.
📍 영향받는 시스템
Joomla! com_expose (Expose) component RC35 and earlier versions
⚔️ 공격 벡터
HTTP POST를 통해 uploadimg.php에 PHP 코드를 포함한 파일을 JPEG으로 위장하여 업로드한 후 직접 접근하여 실행
🛡️ 대응 방법
Joomla! Expose component를 최신 버전으로 업그레이드하거나 파일 타입 검증 강화 및 exit() 명령어 추가
🔧 검증 코드
파일이 검색되면 해당 경로의 component 버전을 확인하고 RC35 이하 버전이면 취약한 상태입니다.
find /var/www/html -path '*com_expose*' -name 'uploadimg.php' 2>/dev/null