WPify Woo <= 5.4.16 - Authenticated (Shop Manager+) Privilege Escalation via Arbitrary Option Update via save_option REST Endpoint
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
The Wpify Woo plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 5.4.16. This is due to the SettingsApi::save_option() REST route (POST /wp-json/wpify-woo/v1/option) passing the request-supplied 'option' and 'data' parameters directly to update_option() without any option-name allowlist or value sanitization, while the permission_callback only verifies the manage_woocommerce capability. This makes it possible for authenticated attackers, with Shop Manager-level access and above, to elevate their privileges to Administrator by overwriting arbitrary WordPress options (for example setting default_role to administrator and users_can_register to 1, or disabling security plugins via active_plugins).
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- wpify WPify Woo – Withdrawal, CRN/VAT, QR payments, Heureka and more for WooCommerce
through 5.4.16
References 8
plugins.trac.wordpress.org
- browser/wpify-woo/tags/5.4.9/src/Api/SettingsApi.php#L67
- browser/wpify-woo/tags/5.4.10/src/Api/SettingsApi.php#L67
- browser/wpify-woo/tags/5.4.10/src/Api/SettingsApi.php#L39
- browser/wpify-woo/tags/5.4.10/src/Managers/ApiManager.php#L18
- browser/wpify-woo/tags/5.4.9/src/Api/SettingsApi.php#L39
- browser/wpify-woo/tags/5.4.9/src/Managers/ApiManager.php#L18
- changeset?reponame=&old=3614762%40wpify-woo&new=3614762%40wpify-woo