🇰🇷 한글 설명
WordPress Holding Pattern 테마 0.6 버전 이하의 admin/upload-file.php에서 파일 업로드 검증이 부족하여 원격 공격자가 PHP 파일을 업로드하고 직접 접근으로 임의의 PHP 코드를 실행할 수 있습니다. 웹셀(webshell) 설치를 통한 서버 완전 제어가 가능합니다.
💡 쉬운 설명
WordPress 관리 페이지에서 파일 업로드 기능이 위험한 PHP 파일도 받아들여 공격자가 악의적인 프로그램을 설치할 수 있습니다. 이를 통해 공격자가 웹사이트와 서버를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
Unrestricted file upload vulnerability in admin/upload-file.php in the Holding Pattern theme (aka holding_pattern) 0.6 and earlier for WordPress allows remote attackers to execute arbitrary PHP code by uploading a file with a PHP extension, then accessing it via a direct request to the file in an unspecified directory.
📍 영향받는 시스템
WordPress Holding Pattern 테마 v0.6 이하
⚔️ 공격 벡터
/wp-content/themes/holding-pattern/admin/upload-file.php에 직접 POST 요청으로 PHP 파일 업로드 후 /wp-content/themes/holding-pattern/uploads/ 경로에서 접근
🛡️ 대응 방법
테마를 0.7 이상으로 업그레이드하거나 테마 제거, 또는 관리자 접근 제어(IP 화이트리스트, WAF) 적용
🔧 검증 코드
holding_pattern 테마 디렉토리와 upload-file.php 파일이 존재하면 해당 테마가 설치되어 있음을 의미하며, 버전 확인은 테마의 style.css 또는 functions.php에서 'Version' 필드로 확인 필요
find /var/www/html/wp-content/themes -name 'holding*' -type d 2>/dev/null | xargs -I {} grep -l 'upload-file' {}/*.php 2>/dev/null