🔍 CVE-2012-1645

2.6
CVSS Score
LOW
2012-08-28
2026-04-29 01:13
✅ 완료

🇰🇷 한글 설명

Drupal CDN 모듈 6.x-2.2, 7.x-2.2 버전에서 Origin Pull 모드 및 Far Future expiration 옵션 활성화 시, 인증되지 않은 원격 공격자가 settings.php를 포함한 서버의 임의의 PHP 파일에 접근할 수 있습니다. 이를 통해 데이터베이스 자격증명 등 민감한 설정 정보가 유출될 수 있습니다.

💡 쉬운 설명

Drupal 웹사이트의 특정 모듈이 잘못 설정되면, 누구나 서버의 중요한 설정 파일을 읽을 수 있게 됩니다. 이를 통해 데이터베이스 암호 같은 민감한 정보가 노출됩니다.

🇺🇸 원문 (English)

The CDN module 6.x-2.2 and 7.x-2.2 for Drupal, when running in Origin Pull mode with the "Far Future expiration" option enabled, allows remote attackers to read arbitrary PHP files via unspecified vectors, as demonstrated by reading settings.php.

📍 영향받는 시스템

Drupal CDN 모듈 6.x-2.2, 7.x-2.2

⚔️ 공격 벡터

Origin Pull 모드 활성화 및 Far Future expiration 옵션 설정 상태에서 경로 조작을 통해 settings.php 등 PHP 파일 직접 접근

🛡️ 대응 방법

CDN 모듈을 2.3 이상으로 업그레이드하거나 Origin Pull 모드에서 Far Future expiration 옵션 비활성화

🔧 검증 코드

settings.php가 웹으로 접근 가능하면 'Vulnerable' 표시, 아니면 CDN 모듈 버전 확인 필요 (2.2 이하 = 취약, 2.3+ = 패치됨)

Shell / Script
grep -r 'define.*DB_PASSWORD' sites/default/settings.php 2>/dev/null && echo 'Vulnerable: credentials exposed' || echo 'Check CDN module version'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP