🇰🇷 한글 설명
WordPress Helpfulcrowd Product Reviews 플러그인(1.2.9 이하)은 PHP 타입 조롱 취약점으로 인해 인증 우회가 가능합니다. REST API 엔드포인트가 비인증 사용자에게 공개되어 있으며, 부울 값 true를 전송하면 시크릿 토큰 검증이 우회되어 설정 데이터가 임의로 수정될 수 있습니다.
💡 쉬운 설명
플러그인의 보안 검증 기능이 잘못 구현되어, 외부에서 아무나 설정값을 변경할 수 있는 구멍이 뚫려 있습니다. 공격자는 로그인 없이도 플러그인의 내부 설정을 마음대로 조작할 수 있습니다.
🇺🇸 원문 (English)
The Helpfulcrowd Product Reviews plugin for WordPress is vulnerable to Authorization Bypass via PHP Type Juggling in versions up to, and including, 1.2.9. This is due to the `helpfulcrowd_validate_token()` function using a loose comparison operator (`!=`) instead of a strict comparison (`!==`) when validating the `token` parameter, while the corresponding REST route `/wp-json/helpfulcrowd/v1/update-settings` is registered with a `permission_callback` of `__return_true`, making it reachable by unauthenticated users; submitting a JSON boolean `true` as the `token` value causes PHP's loose comparison to evaluate as equal to the non-empty base64-encoded secret string, bypassing the check entirely. This makes it possible for unauthenticated attackers to invoke `helpfulcrowd_settings_endpoint()` and write arbitrary attacker-controlled key-value pairs directly into the `helpfulcrowd_options` WordPress database option via `update_option()` without any sanitization or allowlist filtering, enabling full unauthenticated modification of the plugin's stored configuration.
📍 영향받는 시스템
WordPress Helpfulcrowd Product Reviews Plugin versions <= 1.2.9
⚔️ 공격 벡터
비인증 사용자가 REST API 엔드포인트를 통해 부울 값 true를 전송하여 토큰 검증을 우회하고 설정을 수정
🛡️ 대응 방법
플러그인을 1.2.9보다 최신 버전으로 즉시 업데이트하거나, 사용하지 않을 경우 제거하십시오.
🔧 검증 코드
출력된 버전 번호가 1.2.9 이하이거나 해당 플러그인이 활성화되어 있으면 취약한 상태입니다.
wp plugin list --fields=name,version --status=active | grep -i helpfulcrowd