🔍 CVE-2006-2667

7.5
CVSS Score
HIGH
2006-05-30
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

WordPress 2.0.2 이하 버전에서 프로필 업데이트 시 displayname 인자에 PHP 코드를 삽입하여 wp-content/cache/ 디렉토리의 캐시 파일에 악의적 코드를 추가합니다. 이 파일들이 cache.php에서 include될 때 공격자 코드가 실행됩니다.

💡 쉬운 설명

사용자 프로필 변경 화면에서 특수한 코드를 숨겨 입력하면, 서버가 그 파일을 읽을 때 자동으로 실행되어 서버를 완전히 제어할 수 있습니다. WordPress의 임시 저장소 폴더가 보호되지 않아 발생하는 문제입니다.

🇺🇸 원문 (English)

Direct static code injection vulnerability in WordPress 2.0.2 and earlier allows remote attackers to execute arbitrary commands by inserting a carriage return and PHP code when updating a profile, which is appended after a special comment sequence into files in (1) wp-content/cache/userlogins/ (2) wp-content/cache/users/ which are later included by cache.php, as demonstrated using the displayname argument.

📍 영향받는 시스템

WordPress 2.0.2 및 그 이하 모든 버전

⚔️ 공격 벡터

프로필 수정 페이지의 displayname 필드에 carriage return(\r)과 PHP 코드 삽입으로 캐시 파일 변조

🛡️ 대응 방법

WordPress를 2.0.3 이상 최신 버전으로 업데이트하거나, wp-content/cache/ 디렉토리 쓰기 권한을 제한하고 입력값 필터링 강화

🔧 검증 코드

버전이 2.0.3 이상이면 안전, 2.0.2 이하면 즉시 업데이트 필요

Shell / Script
grep -o 'wp_version = [^;]*' /path/to/wordpress/wp-includes/version.php 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP