🇰🇷 한글 설명
WordPress의 Custom Field Template 플러그인 2.7.8 이하 버전에서 부적절한 직접 객체 참조(IDOR) 취약점이 발견되었습니다. 인증된 기여자(Contributor) 이상의 권한을 가진 공격자가 특정 매개변수를 조작하여 사이트 전체의 임의 미디어 파일을 삭제할 수 있습니다. 이로 인해 콘텐츠 손실 및 웹 페이지 오류가 발생할 수 있습니다.
💡 쉬운 설명
사이트의 글을 쓸 수 있는 권한이 있는 사람이 특정 명령을 조작해 사이트에 올라온 사진이나 파일을 마음대로 지울 수 있는 문제입니다. 이로 인해 웹사이트의 이미지가 사라지거나 페이지가 제대로 작동하지 않을 수 있습니다.
🇺🇸 원문 (English)
The Custom Field Template plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.7.8 via the edit_meta_value due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with contributor-level access and above, to delete arbitrary media attachments site-wide by supplying any numeric attachment ID in the file-field parameter alongside the corresponding delete flag, causing content loss and broken pages. Exploitation requires that the attacker's post is governed by a Custom Field Template containing at least one file-type field with the mediaRemove option not enabled, which is the default configuration for file fields.
📍 영향받는 시스템
WordPress Custom Field Template plugin (버전 2.7.8 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증된 사용자가 edit_meta_value 기능을 통해 파일 ID와 삭제 플래그를 포함한 조작된 요청을 전송
🛡️ 대응 방법
Custom Field Template 플러그인을 최신 보안 패치가 적용된 버전으로 업데이트하거나, 파일 필드의 mediaRemove 옵션을 신중히 설정하십시오.
🔧 검증 코드
출력된 결과에서 custom-field-template의 버전이 2.7.8 이하인지 확인하십시오.
wp-cli plugin list --allow-root | grep 'custom-field-template'