Advanced Members for ACFに権限昇格の脆弱性、管理者のパスワードを変更される恐れ
Summary
Advanced Members for ACFの1.3.0以前に、購読者以上の権限を持つログイン済みユーザーが管理者アカウントのパスワードを変更し、サイトの完全な管理権限を得られる脆弱性が見つかりました。CVSSは8.8です。事実の範囲では修正版は確認できていないため、最新の情報を確認してください。サイトの管理者権限を持つアカウントの扱いも含め、早めの確認をおすすめします。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Advanced Members for ACFの1.3.0以前に、購読者以上の権限を持つログイン済みユーザーが管理者アカウントのパスワードを変更し、サイトの完全な管理権限を得られる脆弱性が見つかりました。CVSSは8.8です。事実の範囲では修正版は確認できていないため、最新の情報を確認してください。サイトの管理者権限を持つアカウントの扱いも含め、早めの確認をおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| danbilabsAdvanced Members for ACF |
≤ 1.3.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The Advanced Members for ACF plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.3.0 via the acf[_amem_local_user_password] parameter of the [advanced-members-account-password] shortcode form submission. This is due to a PHP operator-precedence bug in the pre_update_value function of acf/fields/class-user-password.php that assigns boolean true instead of the resolved user ID to $user_id, causing the _can_edit() authorization check to pass for any logged-in user via PHP loose equality, and causing wp_update_user() to cast 'ID' => true to integer 1 — unconditionally targeting the primary administrator account. This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite the password of user ID 1 (the site's primary administrator) with an attacker-chosen value, granting full administrative access to the site. The intended exclusion guard in Account::process that strips the password field before saving is defeated because amem_save_all_fields() re-reads the full field list from amem()->submission and silently overwrites the caller-supplied excluded fields array with an empty array, ensuring the password field is always processed.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory