CVE-2025-25796

5.1 MEDIUM

📋 TL;DR

SeaCMS v13.3 contains a remote code execution vulnerability in admin_template.php that allows attackers to execute arbitrary code on affected systems. This affects all SeaCMS v13.3 installations with default configurations. Attackers can potentially take full control of vulnerable servers.

💻 Affected Systems

Products:
  • SeaCMS
Versions: v13.3
Operating Systems: All platforms running SeaCMS
Default Config Vulnerable: ⚠️ Yes
Notes: Requires admin panel access for exploitation

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete server compromise allowing data theft, malware deployment, and use as attack platform

🟠

Likely Case

Website defacement, data exfiltration, and backdoor installation

🟢

If Mitigated

Limited impact if proper network segmentation and access controls are implemented

🌐 Internet-Facing: HIGH - Directly accessible via web interface with public exploit available
🏢 Internal Only: MEDIUM - Requires admin access but could be exploited via phishing or compromised credentials

🎯 Exploit Status

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

Exploit requires admin credentials but is trivial to execute once authenticated

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: Not available

Restart Required: No

Instructions:

No official patch available. Consider upgrading to latest version if available or implementing workarounds.

🔧 Temporary Workarounds

Restrict admin_template.php access

all

Block access to vulnerable component via web server configuration

# Apache: RewriteRule ^admin_template\.php$ - [F,L]
# Nginx: location ~ admin_template\.php { deny all; }

Remove vulnerable file

linux

Delete or rename admin_template.php if not needed

rm admin_template.php
mv admin_template.php admin_template.php.disabled

🧯 If You Can't Patch

  • Implement strict access controls to admin panel with strong authentication
  • Deploy web application firewall with RCE protection rules

🔍 How to Verify

Check if Vulnerable:

Check if admin_template.php exists in SeaCMS installation directory and version is 13.3

Check Version:

grep -r 'version.*13\.3' SeaCMS/ or check version.php file

Verify Fix Applied:

Verify admin_template.php is inaccessible or removed, and test for RCE attempts

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to admin_template.php
  • Suspicious PHP code execution in logs
  • Multiple failed admin login attempts

Network Indicators:

  • HTTP requests with shell commands in parameters
  • Outbound connections from web server to unknown IPs

SIEM Query:

source="web_logs" AND (uri="*admin_template.php*" AND (method="POST" OR params="*system*" OR params="*exec*"))

🔗 References

📤 Share & Export