CVE-2023-45001

9.8 CRITICAL

📋 TL;DR

This SQL injection vulnerability in the Seriously Simple Stats WordPress plugin allows attackers to execute arbitrary SQL commands on the database. It affects all WordPress sites running Seriously Simple Stats version 1.5.0 or earlier. Successful exploitation could lead to data theft, modification, or complete database compromise.

💻 Affected Systems

Products:
  • Castos Seriously Simple Stats WordPress Plugin
Versions: n/a through 1.5.0
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations with the Seriously Simple Stats plugin enabled; no special configuration required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise allowing data exfiltration, modification, or deletion; potential privilege escalation to full system access if database permissions are misconfigured.

🟠

Likely Case

Unauthorized data access including sensitive user information, podcast statistics, and potentially WordPress credentials stored in the database.

🟢

If Mitigated

Limited impact with proper input validation and parameterized queries preventing SQL injection; database permissions limiting damage scope.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

SQL injection vulnerabilities in WordPress plugins are commonly exploited; public proof-of-concept exists making exploitation straightforward.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.5.1 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/seriously-simple-stats/wordpress-seriously-simple-stats-plugin-1-5-0-sql-injection-vulnerability

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find Seriously Simple Stats
4. Click 'Update Now' if available
5. If no update available, deactivate and delete the plugin
6. Install fresh version 1.5.1+ from WordPress repository

🔧 Temporary Workarounds

Temporary Plugin Deactivation

all

Disable the Seriously Simple Stats plugin to prevent exploitation while planning permanent fix.

wp plugin deactivate seriously-simple-stats

Web Application Firewall Rule

all

Implement WAF rules to block SQL injection patterns targeting Seriously Simple Stats endpoints.

🧯 If You Can't Patch

  • Implement strict input validation and parameterized queries in custom code
  • Apply principle of least privilege to database user accounts

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Seriously Simple Stats → Version number. If version is 1.5.0 or earlier, you are vulnerable.

Check Version:

wp plugin get seriously-simple-stats --field=version

Verify Fix Applied:

Verify plugin version is 1.5.1 or later in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts from single IP
  • Unexpected database errors in WordPress logs

Network Indicators:

  • HTTP requests with SQL injection payloads to Seriously Simple Stats endpoints
  • Unusual outbound database connections

SIEM Query:

source="wordpress.log" AND "seriously-simple-stats" AND (sql OR union OR select)

🔗 References

📤 Share & Export