CVE-2023-24000

9.8 CRITICAL

📋 TL;DR

This CVE describes an unauthenticated SQL injection vulnerability in the GamiPress WordPress plugin. Attackers can execute arbitrary SQL commands without authentication, potentially compromising the database. All WordPress sites using GamiPress versions up to 2.5.7 are affected.

💻 Affected Systems

Products:
  • GamiPress WordPress Plugin
Versions: All versions up to and including 2.5.7
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations with vulnerable GamiPress versions installed and activated.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, modification, or deletion; potential privilege escalation to full system access; possible remote code execution through database functions.

🟠

Likely Case

Database information disclosure (user credentials, sensitive data), data manipulation, and potential WordPress admin access leading to site takeover.

🟢

If Mitigated

Limited impact with proper input validation, parameterized queries, and database user privilege restrictions.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

SQL injection vulnerabilities are commonly exploited; public details available on Patchstack.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.5.8 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/gamipress/wordpress-gamipress-plugin-2-5-7-unauthenticated-sql-injection-vulnerability

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find GamiPress and click 'Update Now'. 4. Verify version is 2.5.8 or higher.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

all

Disable GamiPress plugin until patched

wp plugin deactivate gamipress

Web Application Firewall Rules

all

Implement WAF rules to block SQL injection patterns

🧯 If You Can't Patch

  • Implement strict input validation and sanitization for all user inputs
  • Apply principle of least privilege to database user accounts

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for GamiPress version

Check Version:

wp plugin get gamipress --field=version

Verify Fix Applied:

Verify GamiPress version is 2.5.8 or higher in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL error messages in WordPress logs
  • Multiple failed SQL queries from single IP
  • Unexpected database queries to GamiPress tables

Network Indicators:

  • HTTP requests with SQL syntax in parameters
  • Unusual traffic patterns to GamiPress endpoints

SIEM Query:

source="wordpress.log" AND "SQL syntax" AND "gamipress"

🔗 References

📤 Share & Export