CVE-2023-3673

7.2 HIGH

📋 TL;DR

This CVE describes a SQL injection vulnerability in Pimcore CMS versions prior to 10.5.24. Attackers can inject malicious SQL queries through user-controlled input, potentially accessing or manipulating database content. All Pimcore installations below version 10.5.24 are affected.

💻 Affected Systems

Products:
  • pimcore/pimcore
Versions: All versions prior to 10.5.24
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: All Pimcore installations using vulnerable code paths are affected regardless of configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data manipulation, privilege escalation, and potential remote code execution via database functions.

🟠

Likely Case

Unauthorized data access, data exfiltration, and potential authentication bypass through database manipulation.

🟢

If Mitigated

Limited impact with proper input validation and parameterized queries in place, potentially only error messages exposed.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

SQL injection typically requires some level of user interaction but can be automated. The specific vulnerable endpoint determines authentication requirements.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 10.5.24

Vendor Advisory: https://github.com/pimcore/pimcore/commit/a06ce0abdba19ae0eefc38b035e677f8f0c2bce9

Restart Required: No

Instructions:

1. Backup your Pimcore installation and database. 2. Update Pimcore to version 10.5.24 or later using composer: 'composer require pimcore/pimcore:^10.5.24'. 3. Clear cache: 'bin/console cache:clear'. 4. Verify the update completed successfully.

🔧 Temporary Workarounds

Input Validation Filter

all

Implement strict input validation and sanitization for all user-controlled parameters before database queries.

WAF Rule

all

Deploy web application firewall rules to detect and block SQL injection patterns.

🧯 If You Can't Patch

  • Implement strict input validation and parameterized queries for all database operations
  • Restrict database user permissions to minimum required access

🔍 How to Verify

Check if Vulnerable:

Check Pimcore version via composer: 'composer show pimcore/pimcore | grep version' or check the Pimcore admin interface version.

Check Version:

composer show pimcore/pimcore | grep version

Verify Fix Applied:

Confirm version is 10.5.24 or higher and verify the specific commit a06ce0abdba19ae0eefc38b035e677f8f0c2bce9 is present in your installation.

📡 Detection & Monitoring

Log Indicators:

  • Unusual database query patterns
  • SQL syntax errors in application logs
  • Multiple failed login attempts with SQL-like patterns

Network Indicators:

  • HTTP requests containing SQL keywords in parameters
  • Unusual database connection patterns from application servers

SIEM Query:

source="web_logs" AND (url="*SELECT*" OR url="*UNION*" OR url="*INSERT*" OR url="*UPDATE*" OR url="*DELETE*")

🔗 References

📤 Share & Export