🇰🇷 한글 설명
WordPress용 Paytium: Mollie 결제 및 기부 플러그인 5.0.3 이하 버전에서 권한 상승 취약점이 발견되었습니다. 공격자가 결제 프로세스 중 특정 필드를 조작하여 인증되지 않은 상태에서도 관리자 권한을 가진 계정을 생성하고 사이트를 완전히 장악할 수 있습니다.
💡 쉬운 설명
결제 양식을 이용해 가짜 정보를 입력함으로써, 해커가 사이트의 최고 관리자 계정을 마음대로 만들 수 있는 보안 결함입니다. 이를 통해 해커는 웹사이트의 모든 권한을 탈취할 수 있습니다.
🇺🇸 원문 (English)
The Paytium: Mollie payment forms & donations plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 5.0.3. The 5.0.3 patch introduced a wp_hash()/hash_equals() signature gate on the pt-paytium-user-data field, but left a second filter — pt_cf_checkout_meta(), registered on the pt_meta_values hook after the signed builder — that copies every $_POST['pt_form_field'][*] key verbatim into the payment meta array without any signature verification; this allows the pt-user-role value it copies to overwrite the signed path's output, after which paytium_user_data_processing() reads the persisted _pt-user-role post meta and passes it directly as the role argument to wp_insert_user(). This makes it possible for unauthenticated attackers to register a new WordPress account with the administrator role and fully take over the site. Exploitation requires submitting a payment through a publicly-exposed [paytium] shortcode form and completing the resulting payment flow, after which the attacker can seize the new administrator account via the standard lost-password flow on their supplied email address.
📍 영향받는 시스템
Paytium: Mollie payment forms & donations plugin for WordPress (버전 5.0.3 이하)
⚔️ 공격 벡터
공개된 결제 폼을 통해 pt-user-role 값을 조작하여 제출하고 결제 과정을 완료함
🛡️ 대응 방법
플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 Paytium 플러그인의 버전이 5.0.3 이하인지 확인하십시오.
wp plugin list --status=active | grep -E 'paytium'