🇰🇷 한글 설명
WordPress Ultimate CSV XML Importer 플러그인의 write_to_customfile() 함수가 필터링 없이 PHP 코드를 파일에 작성하여 RCE 취약점을 유발합니다. 구독자 이상 권한의 인증된 공격자가 customFunction.php에 악의적 코드를 주입하여 원격 코드 실행이 가능합니다.
💡 쉬운 설명
WordPress CSV 임포트 플러그인이 사용자 입력을 검증하지 않아 악의적인 코드 실행을 허용합니다. 일반 사용자 권한만으로도 서버의 모든 명령을 실행할 수 있습니다.
🇺🇸 원문 (English)
The WP Import – Ultimate CSV XML Importer for WordPress plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 7.28. This is due to the write_to_customfile() function writing unfiltered PHP code to a file. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject the customFunction.php file with PHP code that can be accessed to trigger remote code execution.
📍 영향받는 시스템
WP Import – Ultimate CSV XML Importer for WordPress 플러그인 버전 7.28 이하 (모든 버전)
⚔️ 공격 벡터
인증된 공격자가 플러그인의 파일 쓰기 기능을 악용하여 customFunction.php에 PHP 셸 코드 주입
🛡️ 대응 방법
플러그인을 7.29 이상으로 긴급 업데이트하고 불필요한 구독자 계정 권한 제거
🔧 검증 코드
플러그인 설치 여부와 버전을 확인하되, 7.28 이하 버전이면 즉시 업데이트 필요
curl -s http://target/wp-content/plugins/wp-import-export-lite/ 2>&1 | grep -i version || wp plugin list --allow-root 2>/dev/null | grep -E 'csv|importer'