CVE-2025-30985

9.8 CRITICAL

📋 TL;DR

A PHP object injection vulnerability in GNUCommerce WordPress plugin allows attackers to execute arbitrary code through deserialization of untrusted data. This affects all WordPress sites running GNUCommerce plugin versions up to 1.5.4. Attackers can exploit this to gain complete control of affected websites.

💻 Affected Systems

Products:
  • GNUCommerce WordPress Plugin
Versions: All versions up to and including 1.5.4
Operating Systems: Any OS running WordPress with PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations with GNUCommerce plugin enabled, regardless of configuration.

⚠️ 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.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to complete system compromise, data theft, website defacement, and backdoor installation.

🟠

Likely Case

Remote code execution allowing attackers to create administrator accounts, steal sensitive data, or deploy malware.

🟢

If Mitigated

Limited impact if proper input validation and output encoding are implemented, though deserialization vulnerabilities remain dangerous.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Deserialization vulnerabilities are commonly exploited and weaponized quickly due to available exploit chains.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.5.5 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/gnucommerce/vulnerability/wordpress-gnucommerce-plugin-1-5-4-php-object-injection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find GNUCommerce plugin
4. Click 'Update Now' if available
5. If no update available, download version 1.5.5+ from WordPress.org
6. Deactivate old version, upload new version, activate

🔧 Temporary Workarounds

Disable GNUCommerce Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate gnucommerce

Restrict PHP Deserialization

linux

Add PHP configuration to restrict dangerous deserialization functions

php_admin_value disable_functions "unserialize"

🧯 If You Can't Patch

  • Implement Web Application Firewall (WAF) rules to block deserialization attempts
  • Restrict access to affected WordPress instances using network segmentation and authentication

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Installed Plugins for GNUCommerce version

Check Version:

wp plugin get gnucommerce --field=version

Verify Fix Applied:

Verify GNUCommerce plugin version is 1.5.5 or higher in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WordPress endpoints
  • PHP unserialize() errors in logs
  • Unexpected file creation in wp-content/uploads

Network Indicators:

  • HTTP requests containing serialized PHP objects
  • Unusual outbound connections from WordPress server

SIEM Query:

source="wordpress.log" AND ("unserialize" OR "GNUCommerce" OR "php_object")

🔗 References

📤 Share & Export