CVE-2023-54333

8.2 HIGH

📋 TL;DR

Social-Share-Buttons 2.2.3 contains a critical SQL injection vulnerability in the project_id parameter that allows unauthenticated attackers to execute arbitrary SQL commands via crafted POST requests. This enables attackers to retrieve, modify, or delete database contents including sensitive user data. WordPress sites using this vulnerable plugin version are affected.

💻 Affected Systems

Products:
  • Social-Share-Buttons WordPress Plugin
Versions: 2.2.3
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: WordPress installations with the Social-Share-Buttons plugin version 2.2.3 are vulnerable 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

Complete database compromise including user credentials, sensitive content, and potential privilege escalation leading to full site takeover.

🟠

Likely Case

Data exfiltration of user information, plugin settings, and potentially WordPress configuration data.

🟢

If Mitigated

Limited impact with proper input validation and database permissions restricting query execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit code is publicly available and requires minimal technical skill to execute.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.2.4 or later

Vendor Advisory: https://supsystic.com/plugins/social-share-plugin/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find Social-Share-Buttons plugin. 4. Click 'Update Now' if available. 5. Alternatively, download latest version from WordPress repository and replace plugin files.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

all

Disable the vulnerable plugin until patched

wp plugin deactivate social-share-buttons

WAF Rule Implementation

all

Block SQL injection patterns targeting project_id parameter

Modify WAF rules to block SQL patterns in POST requests to /wp-admin/admin-ajax.php with action=supsystic_social_sharing_get_project

🧯 If You Can't Patch

  • Implement web application firewall (WAF) with SQL injection protection rules
  • Restrict access to wp-admin/admin-ajax.php endpoint to trusted IP addresses only

🔍 How to Verify

Check if Vulnerable:

Check WordPress plugin version in admin panel or examine wp-content/plugins/social-share-buttons/readme.txt file for version 2.2.3

Check Version:

wp plugin get social-share-buttons --field=version

Verify Fix Applied:

Verify plugin version is 2.2.4 or higher in WordPress admin plugins page

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /wp-admin/admin-ajax.php with SQL keywords in project_id parameter
  • Multiple database error entries in WordPress logs

Network Indicators:

  • HTTP POST requests containing SQL injection payloads targeting project_id parameter
  • Unusual database query patterns from web server

SIEM Query:

source="wordpress.log" AND "admin-ajax.php" AND ("project_id" OR "supsystic_social_sharing") AND ("UNION" OR "SELECT" OR "INSERT" OR "DELETE")

🔗 References

📤 Share & Export