🇰🇷 한글 설명
WordPress의 Static Block 플러그인 2.2 이하 버전에서 발생하는 IDOR(부적절한 직접 객체 참조) 취약점입니다. 공격자가 'id' 속성을 조작하여 권한 검증 없이 임의의 게시물 내용을 불러올 수 있으며, 이를 통해 관리자의 비공개 또는 초안 상태인 게시물을 읽을 수 있습니다.
💡 쉬운 설명
플러그인의 허점을 이용해 남의 비밀 글이나 아직 작성 중인 글을 몰래 훔쳐볼 수 있는 보안 약점입니다. 글 번호만 알면 권한이 없는 사용자도 내용을 확인할 수 있습니다.
🇺🇸 원문 (English)
The Static Block plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.2. This is due to the static_block_content() shortcode handler retrieving a post via get_post() using an attacker-supplied 'id' attribute and outputting its post_content without verifying the post's status (private, draft, pending) or the requesting user's capability to view it. This makes it possible for authenticated attackers, with contributor-level access and above, to read the contents of arbitrary posts, including private and draft static blocks (and any other post type) created by administrators, by embedding the [static_block_content id="X"] shortcode in their own content and previewing it.
📍 영향받는 시스템
WordPress Static Block plugin (버전 2.2 및 그 이하 모든 버전)
⚔️ 공격 벡터
기여 권한 이상의 사용자가 자신의 콘텐츠에 조작된 ID를 포함한 [static_block_content id="X"] 숏코드를 삽입하여 미리보기 기능을 통해 실행
🛡️ 대응 방법
Static Block 플러그인을 최신 버전으로 업데이트하거나, 해당 숏코드가 권한을 검증하도록 수정해야 합니다.
🔧 검증 코드
출력된 결과에서 static-block 플러그인의 버전이 2.2 이하인지 확인합니다.
wp plugin list --status=active | grep -i 'static-block' && wp plugin list --all | grep -E 'static-block' | awk '{print $2 " " $3}'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
💻 영향받는 소프트웨어
IBM Security Verify Access