🇰🇷 한글 설명
WordPress의 AllWebMenus 플러그인 1.1.8에서 HTTP_REFERER 헤더를 위변조하여 업로드 접근 제한을 우회할 수 있습니다. 공격자는 악성 PHP 파일이 포함된 ZIP을 업로드한 후 직접 URL로 접근하여 실행할 수 있으며, 이를 통해 서버에 원격 코드를 실행하는 것이 가능합니다.
💡 쉬운 설명
WordPress 플러그인의 파일 업로드 기능이 불완전하게 보호되어 있어 공격자가 악성 프로그램을 몰래 업로드할 수 있습니다. 업로드된 악성 파일을 직접 실행하여 웹사이트 전체를 장악할 수 있습니다.
🇺🇸 원문 (English)
actions.php in the AllWebMenus plugin 1.1.8 for WordPress allows remote attackers to bypass intended access restrictions to upload and execute arbitrary PHP code by setting the HTTP_REFERER to a certain value, then uploading a ZIP file containing a PHP file, then accessing it via a direct request to the file in an unspecified directory.
📍 영향받는 시스템
WordPress AllWebMenus plugin 버전 1.1.8 이하
⚔️ 공격 벡터
HTTP_REFERER 헤더를 특정 값으로 설정하여 ZIP 파일 업로드 후 직접 URL 접근으로 PHP 파일 실행
🛡️ 대응 방법
AllWebMenus 플러그인을 1.1.9 이상으로 업그레이드하거나 불필요한 경우 플러그인 제거
🔧 검증 코드
버전 번호가 1.1.8 이하면 취약함. 1.1.9 이상이면 패치됨. Plugin not found이면 플러그인이 설치되지 않음
grep -r "Version:" /var/www/html/wp-content/plugins/allwebmenus/readme.txt 2>/dev/null | grep -oP 'Version: \K[\d.]+' || echo 'Plugin not found'