🇰🇷 한글 설명
Import WP 플러그인의 REST API 엔드포인트에서 'attach_file()' 함수가 'file_local' 동작 시 파일 경로를 적절히 검증하지 않아 임의 파일 읽기 취약점이 발생합니다. 관리자 권한을 가진 인증된 공격자는 'local_url' 파라미터를 통해 서버의 민감한 설정 파일이나 시스템 파일을 읽을 수 있습니다.
💡 쉬운 설명
관리자 권한을 가진 사람이 플러그인의 특정 기능을 악용하여 서버에 저장된 중요한 비밀 파일을 몰래 읽어낼 수 있는 문제입니다. 이로 인해 서버의 설정 정보나 개인정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
The Import WP – Export and Import CSV and XML files to WordPress plugin for WordPress is vulnerable to Arbitrary File Read in all versions up to, and including, 2.14.16. This is due to the plugin's REST API endpoint accepting arbitrary absolute file paths without proper validation in the 'attach_file()' function when handling 'file_local' actions. This makes it possible for authenticated attackers, with administrator-level access and above, to read arbitrary files on the server's filesystem, including sensitive configuration files and system files via the 'local_url' parameter.
📍 영향받는 시스템
Import WP – Export and Import CSV and XML files to WordPress plugin (버전 2.14.16 이하 모든 버전)
⚔️ 공격 벡터
인증된 관리자 권한을 이용해 REST API의 'local_url' 파라미터에 임의의 절대 경로를 입력하여 파일 탈취
🛡️ 대응 방법
해당 플러그인을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 목록에서 Import WP의 버전을 확인하여 2.14.16 이하인지 체크합니다.
wp plugin list --status=active | grep -i 'import-wp'