🇰🇷 한글 설명
Otter Blocks WordPress 플러그인 3.2.8 이전 버전은 REST API 엔드포인트에서 게시물의 공개 여부를 올바르게 판단하지 않습니다. 발행(published) 상태인 모든 게시물을 공개된 것으로 취급하여, 인증되지 않은 사용자도 비밀번호 보호 게시물의 요약문, 비공개 게시물 유형의 내용과 제목, WooCommerce 사이트의 쿠폰 코드와 설명을 읽을 수 있습니다.
💡 쉬운 설명
이 취약점은 로그인하지 않은 사람도 비밀번호로 보호된 글의 요약이나 숨겨진 콘텐츠를 볼 수 있게 만듭니다. 쇼핑몰이라면 할인 쿠폰 코드까지 노출될 수 있습니다.
🇺🇸 원문 (English)
The Otter Blocks WordPress plugin before 3.2.8 does not correctly determine whether a post is publicly readable before returning its data through a REST API endpoint, treating any post with the published status as public, allowing unauthenticated users to read manual excerpts of password-protected posts, the content and titles of non-public post types, and, on WooCommerce sites, coupon codes and their descriptions.
📍 영향받는 시스템
Otter Blocks WordPress 플러그인 3.2.8 미만 버전을 사용하는 WordPress 사이트 (WooCommerce 사용 시 쿠폰 노출 위험 추가)
⚔️ 공격 벡터
공격자가 인증 없이 WordPress REST API 엔드포인트에 요청을 보내 비공개 게시물 데이터를 조회
🛡️ 대응 방법
Otter Blocks 플러그인을 3.2.8 이상 버전으로 업데이트하고, 노출 가능성이 있는 쿠폰 코드와 보호 게시물 내용을 점검 및 변경
🔧 검증 코드
출력된 버전이 3.2.8 미만이면 취약하며, 3.2.8 이상이면 패치된 것입니다. 명령 결과가 없으면 플러그인이 설치되지 않았거나 경로를 확인해야 합니다.
wp plugin list --name=otter-blocks --field=version 2>/dev/null || grep -i 'Version:' wp-content/plugins/otter-blocks/otter-blocks.php 2>/dev/null