CVE-2024-10852
📋 TL;DR
The Buy one click WooCommerce WordPress plugin has an authorization vulnerability that allows authenticated users with Subscriber-level access or higher to export plugin settings without proper permission checks. This affects all plugin versions up to and including 2.2.9. Attackers can access configuration data that should be restricted to administrators.
💻 Affected Systems
- Buy one click WooCommerce WordPress plugin
⚠️ Manual Verification Required
This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.
Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).
🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers could export sensitive plugin configuration data, potentially revealing API keys, integration settings, or other business logic details that could facilitate further attacks.
Likely Case
Low-privileged users can access plugin settings they shouldn't see, potentially learning about store configuration or finding other weaknesses in the system.
If Mitigated
With proper access controls and monitoring, the impact is limited to information disclosure of non-critical configuration data.
🎯 Exploit Status
Exploitation requires authenticated access but is simple once authenticated. The vulnerability is in a public AJAX endpoint.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.3.0 or later
Vendor Advisory: https://wordpress.org/plugins/buy-one-click-woocommerce/
Restart Required: No
Instructions:
1. Log into WordPress admin panel
2. Go to Plugins → Installed Plugins
3. Find 'Buy one click WooCommerce'
4. Click 'Update Now' if available
5. If no update appears, manually download version 2.3.0+ from WordPress.org
6. Deactivate old plugin, upload new version, activate
🔧 Temporary Workarounds
Remove vulnerable AJAX endpoint
allDisable the vulnerable AJAX action by adding code to theme's functions.php or a custom plugin
add_action('init', function() {
remove_action('wp_ajax_buy_one_click_export_options', 'buy_one_click_export_options');
remove_action('wp_ajax_nopriv_buy_one_click_export_options', 'buy_one_click_export_options');
});
Restrict user roles
allTemporarily limit user registration and review existing low-privilege accounts
🧯 If You Can't Patch
- Deactivate the Buy one click WooCommerce plugin until patched
- Implement web application firewall rules to block requests to the vulnerable AJAX endpoint
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for Buy one click WooCommerce version. If version is 2.2.9 or lower, you are vulnerable.
Check Version:
wp plugin list --name='buy-one-click-woocommerce' --field=version
Verify Fix Applied:
After updating, verify plugin version shows 2.3.0 or higher in WordPress admin plugins page.
📡 Detection & Monitoring
Log Indicators:
- POST requests to /wp-admin/admin-ajax.php with action=buy_one_click_export_options from non-admin users
- Unusual export or configuration access patterns from low-privilege accounts
Network Indicators:
- HTTP POST requests containing 'action=buy_one_click_export_options' parameter
SIEM Query:
source="web_logs" AND uri="/wp-admin/admin-ajax.php" AND post_data="*action=buy_one_click_export_options*" AND user_role!="administrator"