🇰🇷 한글 설명
WordPress 2.0.11 이전 버전의 wp-admin 디렉토리 아래 여러 PHP 스크립트에서 '..' 문자열을 검증하지 않아 발생하는 디렉토리 트래버설 취약점입니다. 공격자는 이를 이용해 wp-config.php 같은 민감한 파일을 읽거나 templates.php를 통해 파일을 수정할 수 있습니다.
💡 쉬운 설명
WordPress 관리 페이지의 파일 경로에 '..' 기호를 넣으면 상위 폴더로 올라가서 숨겨진 설정 파일을 볼 수 있습니다. 이 파일들에는 데이터베이스 비밀번호 같은 중요한 정보가 포함되어 있습니다.
🇺🇸 원문 (English)
Multiple directory traversal vulnerabilities in WordPress 2.0.11 and earlier allow remote attackers to read arbitrary files via a .. (dot dot) in (1) the page parameter to certain PHP scripts under wp-admin/ or (2) the import parameter to wp-admin/admin.php, as demonstrated by discovering the full path via a request for the \..\..\wp-config pathname; and allow remote attackers to modify arbitrary files via a .. (dot dot) in the file parameter to wp-admin/templates.php.
📍 영향받는 시스템
WordPress 2.0.11 이전 모든 버전
⚔️ 공격 벡터
GET/POST 요청의 page, import, file 매개변수에 '../' 패턴을 포함시켜 상위 디렉토리의 임의 파일 접근
🛡️ 대응 방법
WordPress를 2.0.12 이상으로 즉시 업그레이드하거나 web.config/httpd.conf에서 '..' 패턴을 차단
🔧 검증 코드
명령어가 버전 2.0.11 이하를 반환하면 취약하며, 버전 정보가 없거나 2.0.12+ 이면 패치됨
grep -E 'wp_version.*=.*['\'']2\.0\.(0|1)?[0-9]['\'']' /var/www/html/wp-includes/version.php 2>/dev/null | head -1