🇰🇷 한글 설명
WordPress용 WP Popular Posts 플러그인 7.4.2 이하 버전에서 'context' 파라미터를 통해 민감한 정보가 노출되는 취약점이 발견되었습니다. 인증되지 않은 공격자가 REST API를 악용하여 비공개 게시물의 제목, 본문, 비밀번호, 메타데이터 등 핵심 데이터를 추출할 수 있습니다.
💡 쉬운 설명
인터넷에 공개되지 않아야 할 글의 비밀번호나 상세 내용이 플러그인의 설정 오류로 인해 누구나 볼 수 있게 노출되는 문제입니다. 해커가 특수한 주소를 입력하는 것만으로도 관리자만 봐야 할 정보를 훔쳐갈 수 있습니다.
🇺🇸 원문 (English)
The WP Popular Posts plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 7.4.2 via the 'context' parameter. This makes it possible for unauthenticated attackers to extract sensitive edit-context fields — including raw title, raw content body, password, meta, status, and guid — from non-public post objects such as wp_block synced patterns that WordPress core itself refuses to expose to unauthenticated callers. This is possible because the plugin's REST route is registered with a permission_callback of __return_true and passes the caller-supplied context parameter (e.g., context=edit) directly to WP_REST_Posts_Controller::prepare_item_for_response() without invoking get_item_permissions_check() or check_read_permission(), while the underlying query accepts an arbitrary post_type value without enforcing public or show_in_rest visibility flags.
📍 영향받는 시스템
WP Popular Posts plugin (버전 7.4.2 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증되지 않은 공격자가 REST API의 'context' 파라미터에 'edit' 값을 전달하여 비공개 객체에 접근
🛡️ 대응 방법
WP Popular Posts 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 목록에서 'popular-posts'를 찾고, 설치된 버전이 7.4.2 이하인지 확인하십시오.
wp plugin list --status=active | grep -i 'popular-posts'