🔍 CVE-2006-7109

6.5
CVSS Score
MEDIUM
2007-03-05
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

Drupal 모듈 IMCE 1.6 이전 버전의 파일 업로드 제한 부재 취약점으로, 인증된 사용자가 .php.gif와 같은 이중 확장자를 가진 파일명으로 임의의 PHP 코드를 업로드할 수 있습니다. 이를 통해 원격 코드 실행(RCE)이 가능하며, 서버의 완전한 제어 획득으로 이어질 수 있습니다.

💡 쉬운 설명

Drupal 이미지 편집 모듈에서 사용자가 PHP 파일을 속여서 업로드할 수 있는 버그입니다. 업로드된 파일이 실행되면 해커가 서버를 완전히 제어할 수 있습니다.

🇺🇸 원문 (English)

Unrestricted file upload vulnerability in IMCE before 1.6, a Drupal module, allows remote authenticated users to upload arbitrary PHP code via a filename with a double extension such as .php.gif.

📍 영향받는 시스템

IMCE < 1.6 (Drupal module)

⚔️ 공격 벡터

authenticated user uploads file with double extension (.php.gif) to bypass validation filters

🛡️ 대응 방법

upgrade IMCE to version 1.6 or later; implement strict file extension whitelisting and validate MIME types server-side

🔧 검증 코드

IMCE 모듈 설치 위치와 버전을 확인하여 1.6 미만 버전이 설치되어 있는지 검증합니다. 버전이 없거나 1.6 이상이면 패치됨을 의미합니다.

Shell / Script
find /var/www -name 'imce' -type d 2>/dev/null && grep -r 'version' $(find /var/www -path '*/imce/*.info' 2>/dev/null) 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP