CVE-2025-25515

8.8 HIGH

📋 TL;DR

Seacms versions up to 13.3 contain a SQL injection vulnerability in admin_collect.php that allows authenticated attackers to execute arbitrary SQL commands against the database. This affects all Seacms installations running vulnerable versions, particularly those with administrative accounts accessible to attackers.

💻 Affected Systems

Products:
  • Seacms
Versions: <= 13.3
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires authenticated access to admin interface; default installations are vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, data manipulation, privilege escalation, or remote code execution via database functions.

🟠

Likely Case

Unauthorized data access, extraction of sensitive information like user credentials, and potential administrative account takeover.

🟢

If Mitigated

Limited impact if proper input validation and parameterized queries are implemented, restricting SQL command execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated administrative access; SQL injection techniques are well-documented.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: > 13.3

Vendor Advisory: Not available

Restart Required: No

Instructions:

1. Upgrade to Seacms version newer than 13.3. 2. Apply vendor patches if available. 3. Replace admin_collect.php with patched version.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement strict input validation and parameterized queries in admin_collect.php to prevent SQL injection.

Access Restriction

Apache

Restrict access to admin_collect.php to trusted IP addresses only.

# In .htaccess for Apache: Order deny,allow
Deny from all
Allow from 192.168.1.0/24

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block SQL injection patterns targeting admin_collect.php.
  • Disable or remove admin_collect.php if not required for functionality.

🔍 How to Verify

Check if Vulnerable:

Check Seacms version in admin panel or configuration files; if version <= 13.3, system is vulnerable.

Check Version:

Check /data/admin/ver.txt or admin panel version display.

Verify Fix Applied:

Verify version is > 13.3 and test admin_collect.php with SQL injection payloads to confirm mitigation.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts to admin interface
  • Access to admin_collect.php with suspicious parameters

Network Indicators:

  • HTTP POST requests to admin_collect.php containing SQL keywords like UNION, SELECT, INSERT

SIEM Query:

source="web_logs" AND uri="/admin_collect.php" AND (query CONTAINS "UNION" OR query CONTAINS "SELECT" OR query CONTAINS "INSERT")

🔗 References

📤 Share & Export