🇰🇷 한글 설명
WordPress 2.3.3 이하 및 2.5 버전의 wp-includes/theme.php의 get_category_template 함수에 존재하는 디렉터리 순회 취약점으로, 공격자가 index.php의 cat 파라미터를 통해 임의의 PHP 파일을 포함시키고 실행할 수 있습니다.
💡 쉬운 설명
WordPress 웹사이트의 카테고리 설정 부분에서 공격자가 폴더를 마음대로 이동하며 서버의 파일에 접근할 수 있는 문제입니다. 공격자는 악의적인 PHP 파일을 실행하여 서버를 완전히 제어할 수 있습니다.
🇺🇸 원문 (English)
Directory traversal vulnerability in the get_category_template function in wp-includes/theme.php in WordPress 2.3.3 and earlier, and 2.5, allows remote attackers to include and possibly execute arbitrary PHP files via the cat parameter in index.php. NOTE: some of these details are obtained from third party information.
📍 영향받는 시스템
WordPress 2.3.3 이하, WordPress 2.5
⚔️ 공격 벡터
HTTP GET/POST 요청으로 index.php?cat=../../../../[파일경로] 형태의 디렉터리 순회 공격 수행
🛡️ 대응 방법
WordPress를 2.3.4 이상 또는 2.6 이상으로 즉시 업데이트
🔧 검증 코드
명령어 출력 결과가 2.3.3 이하 또는 2.5라면 취약점이 있습니다. 2.3.4 이상 또는 2.6 이상이면 안전합니다.
grep -oP '\$wp_version\s*=\s*['\'']\K[^'\'']' wp-includes/version.php