🇰🇷 한글 설명
WordPress용 Dokan Pro 플러그인의 update_capabilities REST 엔드포인트에서 권한 상승 취약점이 발견되었습니다. 공격자가 요청 본문에 임의의 권한 문자열을 포함하여 보낼 경우, 검증 없이 WP_User::add_cap() 함수로 전달되어 관리자 권한을 획득할 수 있습니다.
💡 쉬운 설명
가게 주인 권한을 가진 사용자가 시스템의 보안 검사를 우회하여 사이트 전체를 관리할 수 있는 최고 관리자 권한을 스스로 만들 수 있는 문제입니다. 이를 통해 공격자는 웹사이트의 모든 제어권을 탈취할 수 있습니다.
🇺🇸 원문 (English)
The Dokan Pro plugin for WordPress is vulnerable to privilege escalation via update_capabilities REST Endpoint in all versions up to, and including, 5.0.4. This is due to the `update_capabilities()` REST handler accepting arbitrary capability strings from the request body and passing them directly to WP_User::add_cap() with no allowlist validation, only verifying that the caller holds the dokandar capability. This makes it possible for authenticated attackers with a self-provisioned Vendor-level access and above, on sites with the Vendor Staff module enabled, to grant arbitrary WordPress capabilities, including administrator, to any vendor_staff account, leading to a full site takeover.
📍 영향받는 시스템
Dokan Pro plugin for WordPress (version 5.0.4 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증된 Vendor-level 이상의 사용자가 REST API를 통해 임의의 권한을 요청하는 방식
🛡️ 대응 방법
Dokan Pro 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 dokan-pro의 버전이 5.0.4 이하인지 확인하십시오.
wp plugin list --allow-root | grep -E 'dokan-pro'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM Security Verify Access