🔍 CVE-2005-3310

3.5
CVSS Score
LOW
2005-10-26
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

phpBB 2.0.17에서 원격 아바타 업로드 기능이 활성화되었을 때, 인증된 사용자가 GIF/JPEG 확장자를 가진 HTML 파일을 업로드하여 임의의 스크립트를 삽입할 수 있습니다. Internet Explorer가 잘못된 이미지 타입을 HTML로 렌더링하면서 피해자가 파일을 열 때 XSS 공격이 발생합니다.

💡 쉬운 설명

게시판의 아바타 업로드 기능에서 악성 HTML 파일을 이미지로 위장하여 업로드할 수 있는 결함입니다. 사용자가 Internet Explorer로 해당 파일을 보면 악의적인 코드가 실행됩니다.

🇺🇸 원문 (English)

Interpretation conflict in phpBB 2.0.17, with remote avatars and avatar uploading enabled, allows remote authenticated users to inject arbitrary web script or HTML via an HTML file with a GIF or JPEG file extension, which causes the HTML to be executed by a victim who views the file in Internet Explorer, which renders malformed image types as HTML, enabling cross-site scripting (XSS) attacks. NOTE: it could be argued that this vulnerability is due to a design flaw in Internet Explorer (CVE-2005-3312) and the proper fix should be in that browser; if so, then this should not be treated as a vulnerability in phpBB.

📍 영향받는 시스템

phpBB 2.0.17 (원격 아바타 및 아바타 업로드 기능 활성화 상태)

⚔️ 공격 벡터

인증된 사용자가 .gif 또는 .jpeg 확장자를 가진 HTML 파일을 아바타로 업로드하고, 다른 사용자가 Internet Explorer에서 열 때 악성 스크립트 실행

🛡️ 대응 방법

phpBB를 최신 버전으로 업그레이드하거나 아바타 업로드 기능 비활성화 및 MIME 타입 검증 강화

🔧 검증 코드

버전 번호가 2.0.17 이하이면 취약하며, admin 패널에서 아바타 업로드 기능 활성화 여부를 확인해야 합니다.

Shell / Script
cat /var/www/html/phpbb/version.php 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'

📊 CVSS Vector String

CVSS Vector
AV:N/AC:M/Au:S/C:N/I:P/A:N

💻 영향받는 소프트웨어

PHP