CVE-2023-46010

9.8 CRITICAL

📋 TL;DR

This vulnerability in SeaCMS v12.9 allows remote attackers to execute arbitrary commands through the admin_safe.php component. This is a critical remote code execution flaw affecting all SeaCMS v12.9 installations. Attackers can gain complete control of affected systems.

💻 Affected Systems

Products:
  • SeaCMS
Versions: v12.9
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: All SeaCMS v12.9 installations are vulnerable regardless of configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise with attacker gaining root/admin privileges, data theft, ransomware deployment, and persistent backdoor installation.

🟠

Likely Case

Web server compromise leading to data exfiltration, website defacement, and use as pivot point for internal network attacks.

🟢

If Mitigated

Limited impact with proper network segmentation, web application firewalls, and minimal privilege configurations in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public exploit details available in referenced blog posts. Attack requires no authentication.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: http://seacms.com

Restart Required: No

Instructions:

1. Check SeaCMS website for security updates. 2. If no patch available, consider upgrading to newer version if compatible. 3. Apply workarounds immediately.

🔧 Temporary Workarounds

Disable admin_safe.php

linux

Temporarily disable or rename the vulnerable component

mv admin_safe.php admin_safe.php.disabled

Web Application Firewall Rule

all

Block requests to admin_safe.php

# Add to .htaccess: RewriteRule ^admin_safe\.php$ - [F,L]

🧯 If You Can't Patch

  • Isolate SeaCMS server from critical internal networks
  • Implement strict network access controls and monitor all traffic to/from SeaCMS server

🔍 How to Verify

Check if Vulnerable:

Check if admin_safe.php exists in SeaCMS installation directory and version is 12.9

Check Version:

grep -r 'version' includes/common.inc.php | grep -o '[0-9]\+\.[0-9]\+'

Verify Fix Applied:

Verify admin_safe.php is disabled/renamed and test for command execution via known exploit methods

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to admin_safe.php
  • System command execution in web logs
  • Unexpected process spawns from web server

Network Indicators:

  • HTTP requests with command injection patterns to admin_safe.php
  • Outbound connections from web server to unusual destinations

SIEM Query:

source="web_logs" AND uri="*admin_safe.php*" AND (method="POST" OR method="GET") AND (query="*system*" OR query="*exec*" OR query="*shell*" OR query="*cmd*")

🔗 References

📤 Share & Export