🇰🇷 한글 설명
WordPress용 WP File Download 플러그인의 모든 버전에서 파일 경로 검증 미흡으로 인해 임의 파일 삭제 취약점이 발견되었습니다. 인증된 공격자(구독자 권한 이상)가 서버의 임의 파일을 삭제할 수 있으며, wp-config.php와 같은 중요 파일을 삭제할 경우 원격 코드 실행(RCE)으로 이어질 수 있습니다. 이 공격은 파일 메타데이터에 경로 탐색 문자열을 저장한 뒤 삭제 기능을 호출하는 2단계 과정을 거치며, 권한 확인 및 논스(nonce) 검증이 결여되어 있습니다.
💡 쉬운 설명
해커가 권한을 이용해 웹사이트의 중요한 설정 파일을 마음대로 지울 수 있는 보안 구멍이 발견되었습니다. 중요한 파일을 지우면 웹사이트를 완전히 장악하거나 마비시킬 수 있어 매우 위험합니다.
🇺🇸 원문 (English)
The WP File Download plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete function in all versions. This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). The two-stage exploit requires a first request to the file.save task to persist the path-traversal string into file metadata, followed by a second request to the file.delete task to trigger the unlink call — both endpoints lack capability checks and nonce enforcement.
📍 영향받는 시스템
WP File Download plugin for WordPress (모든 버전)
⚔️ 공격 벡터
인증된 사용자가 경로 탐색(Path Traversal)을 이용해 파일 메타데이터를 조작한 후 삭제 기능을 호출하는 2단계 공격
🛡️ 대응 방법
플러그인을 최신 보안 패치가 적용된 버전으로 업데이트하고, 파일 경로 검증 및 권한 확인 로직을 강화해야 합니다.
🔧 검증 코드
명령어 결과에 'wp-file-download'가 나타나면 해당 플러그인이 설치되어 있는 상태입니다.
wp plugin list --allow-root | grep -i 'wp-file-download'