🇰🇷 한글 설명
WordPress의 Comments Like Dislike 플러그인 1.2.0 이하 버전에서 restore_settings 함수에 대한 권한 검증이 누락되어 발생합니다. 이로 인해 구독자(Subscriber)와 같은 낮은 권한을 가진 인증된 공격자가 플러그인 설정을 임의로 초기화할 수 있습니다.
💡 쉬운 설명
웹사이트의 댓글 좋아요/싫어요 기능을 관리하는 플러그인에 보안 구멍이 발견되었습니다. 일반 회원 권한만 있어도 관리자 설정값을 마음대로 바꿔버릴 수 있는 문제입니다.
🇺🇸 원문 (English)
The Comments Like Dislike plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the restore_settings function called via an AJAX action in versions up to, and including, 1.2.0. This makes it possible for authenticated attackers with minimal permissions, such as a subscriber, to reset the plugin's settings. NOTE: this issue is was only partially patched in version 1.2.0, as the nonce is still present to subscriber-level users.
📍 영향받는 시스템
WordPress Comments Like Dislike plugin (버전 1.2.0 및 그 이하 버전)
⚔️ 공격 벡터
낮은 권한을 가진 인증된 사용자가 AJAX 요청을 통해 restore_settings 함수를 호출하여 설정을 변경
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 권한 검증이 완벽히 적용된 패치 버전을 적용해야 합니다.
🔧 검증 코드
출력된 버전 번호가 1.2.0 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --name comments-like-dislike --format=json | grep -oP '(?<=version":")[^"]+'