🇰🇷 한글 설명
Connectix Boards 0.7 이하 버전의 admin.bbcode.php에서 발생하는 불제한적 파일 업로드 취약점입니다. 인증된 관리자가 uploadimage 파라미터를 통해 .php 확장자를 가진 악성 파일을 GIF로 위장하여 업로드할 수 있으며, 업로드된 파일은 smileys/ 디렉토리에서 직접 실행 가능합니다. SQL 인젝션 취약점과 결합하면 인증 없이도 공격이 가능합니다.
💡 쉬운 설명
이모지 이미지 업로드 기능에서 악의적인 프로그램 파일을 숨겨서 올릴 수 있는 보안 문제입니다. 관리자 권한이 있으면 서버에서 해당 프로그램을 실행시켜 시스템을 장악할 수 있습니다.
🇺🇸 원문 (English)
Unrestricted file upload vulnerability in admin.bbcode.php in Connectix Boards 0.7 and earlier allows remote authenticated administrators to execute arbitrary PHP code by uploading a crafted GIF smiley image with a .php extension via the uploadimage parameter to admin.php, which can be later accessed via a direct request for the file in smileys/. NOTE: this can be leveraged with a separate SQL injection issue for remote unauthenticated attacks.
📍 영향받는 시스템
Connectix Boards 0.7 및 이전 버전
⚔️ 공격 벡터
인증된 관리자가 admin.php의 uploadimage 파라미터를 통해 .php 확장자의 악성 파일을 smileys/ 디렉토리로 업로드 후 직접 접근하여 실행
🛡️ 대응 방법
Connectix Boards를 0.8 이상으로 업그레이드하거나, 파일 업로드 검증(확장자, MIME 타입 검사)을 강화하고 smileys/ 디렉토리의 PHP 실행을 비활성화
🔧 검증 코드
해당 파일이 발견되면 취약한 Connectix Boards가 설치된 것이며, 결과가 없으면 해당 소프트웨어가 설치되지 않은 상태입니다.
find / -name 'admin.bbcode.php' 2>/dev/null | head -5