🇰🇷 한글 설명
WordPress MU 1.3.2 이전 버전과 WordPress 2.3.2 이하의 wp-admin/options.php 파일에서 옵션 업데이트 요청 검증이 불충분합니다. 관리 옵션(manage_options) 및 파일 업로드(upload_files) 권한을 가진 인증된 사용자가 악의적인 PHP 파일을 업로드하고 이를 활성 플러그인에 등록하여 서버에서 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
오래된 WordPress 웹사이트의 설정 파일이 사용자 입력을 제대로 검증하지 않아, 일부 권한이 있는 사용자가 악의적인 프로그램 파일을 설치할 수 있습니다. 공격자는 이를 이용해 웹사이트 전체를 제어할 수 있습니다.
🇺🇸 원문 (English)
wp-admin/options.php in WordPress MU before 1.3.2, and WordPress 2.3.2 and earlier, does not properly validate requests to update an option, which allows remote authenticated users with manage_options and upload_files capabilities to execute arbitrary code by uploading a PHP script and adding this script's pathname to active_plugins.
📍 영향받는 시스템
WordPress MU < 1.3.2, WordPress 2.3.2 이하
⚔️ 공격 벡터
인증된 관리자 계정으로 PHP 셸 파일을 업로드한 후 플러그인 활성화 옵션에서 active_plugins 값을 조작하여 임의 코드 실행
🛡️ 대응 방법
WordPress 2.4 이상 또는 WordPress MU 1.3.2 이상으로 업그레이드하고 파일 업로드 및 플러그인 활성화 권한을 제한
🔧 검증 코드
버전이 2.4 미만이면 취약점이 있으며 즉시 업그레이드 필요합니다.
head -20 /var/www/html/wp-includes/version.php 2>/dev/null | grep -oP '\$wp_version = \K[\d.]+' || echo 'WordPress not found'