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

CVE-2025-47511

CVE-2025-47511 Path Traversal in Welcart
📅 PUBLISHED: 2025-06-09 16:15 UTC 🔄 UPDATED: 2026-08-12 14:52 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.34%
👁️
0.34% probability
8.6× above the median CVE
Tier: ELEVATED
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 6.8
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: L Integrity Low
A: L Availability Low
6.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-47511 is a Path Traversal vulnerability (CWE-22) affecting the Welcart e-Commerce plugin (usc-e-shop) for WordPress, up to and including version 2.11.13. This flaw allows an unauthenticated attacker to read arbitrary files outside the web root directory, potentially exposing sensitive configuration files, database credentials, or source code. The vulnerability stems from improper sanitization of user-supplied path inputs, enabling directory traversal sequences (e.g., ../). As of this report, no official patch has been released, and no public proof-of-concept (PoC) or exploit code is available. The EPSS score is 0.0%, indicating low exploitation activity in the wild, but the risk remains significant for unpatched instances.

⚡ 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 specific to the WordPress plugin ecosystem. The Welcart e-Commerce plugin is distributed via the WordPress plugin repository and third-party marketplaces. Users should verify the integrity of their plugin files and monitor for updates from the vendor. No known supply chain compromise has been reported.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Base Score: 6.8 (Medium)
  • Attack Vector: Network (AV:N) – Exploitable remotely.
  • Attack Complexity: Low (AC:L) – No special conditions required.
  • Privileges Required: None (PR:N) – No authentication needed.
  • User Interaction: None (UI:N) – No user action required.
  • Scope: Unchanged (S:U) – Vulnerability does not affect other components.
  • Confidentiality Impact: Low (C:L) – Limited file read access.
  • Integrity Impact: Low (I:L) – Potential to modify files if write access is also present.
  • Availability Impact: Low (A:L) – Could lead to denial of service via resource exhaustion.

Threat Level: Medium. While the CVSS score is moderate, the lack of authentication requirements and the potential for sensitive data exposure elevate the risk for unpatched WordPress sites.

Deep Dive & Mechanics

The vulnerability resides in the file handling logic of the Welcart e-Commerce plugin. The plugin fails to properly validate and sanitize user-supplied input used in file path construction. Specifically, when processing requests to access or download files (e.g., product images, invoices, or logs), the plugin concatenates user input with a base directory without checking for path traversal sequences like ../ or absolute paths.

Attack Vector: An attacker can craft a malicious HTTP request to the vulnerable endpoint, injecting directory traversal sequences to navigate outside the intended directory. For example:

GET /wp-content/plugins/usc-e-shop/download.php?file=../../../wp-config.php HTTP/1.1
Host: target-site.com

If the plugin does not strip ../ or block absolute paths, the server will return the contents of wp-config.php, which contains database credentials and authentication keys.

Root Cause: The vulnerable code likely uses a function like file_get_contents() or readfile() with unsanitized input. A typical vulnerable snippet might be:

$file = $_GET['file'];
$path = '/var/www/html/uploads/' . $file;
readfile($path);

Without validation, an attacker can supply ../../../wp-config.php to read sensitive files.

Vulnerable vs. Patched Code

Vulnerable Code (<= 2.11.13):

<?php
// Vulnerable: No input validation
$file = $_GET['file'];
$base_dir = WP_CONTENT_DIR . '/uploads/welcart/';
$full_path = $base_dir . $file;
if (file_exists($full_path)) {
    header('Content-Type: application/octet-stream');
    readfile($full_path);
}
?>

Patched Code (Hypothetical Fix):

<?php
// Patched: Validate and sanitize path
$file = basename($_GET['file']); // Strip directory components
$base_dir = WP_CONTENT_DIR . '/uploads/welcart/';
$full_path = realpath($base_dir . $file);
if ($full_path !== false && strpos($full_path, $base_dir) === 0) {
    header('Content-Type: application/octet-stream');
    readfile($full_path);
} else {
    http_response_code(403);
    echo 'Access denied.';
}
?>

The patched version uses basename() to remove directory traversal sequences and realpath() to resolve the absolute path, then checks that the resolved path starts with the allowed base directory.

Exploitation & Lab Setup

Red Team (Offensive)

Lab Environment:

  • WordPress 6.x with Welcart e-Commerce 2.11.13 installed.
  • Local server (e.g., XAMPP, Docker) or a vulnerable VM.

Exploitation Steps:

  1. Identify the vulnerable endpoint (e.g., /wp-content/plugins/usc-e-shop/download.php).
  2. Craft a request to read wp-config.php:
    curl -v "http://target/wp-content/plugins/usc-e-shop/download.php?file=../../../wp-config.php"
    
  3. If successful, the response will contain the contents of wp-config.php.
  4. Attempt to read other sensitive files:
    • /etc/passwd (Linux)
    • /windows/win.ini (Windows)
    • /wp-content/debug.log

Automated Scanning: Use a tool like ffuf or Burp Suite Intruder to fuzz for traversal patterns:

ffuf -u "http://target/wp-content/plugins/usc-e-shop/download.php?file=FUZZ" -w /path/to/traversal-payloads.txt

Blue Team (Defensive)

Detection & Prevention:

  • Monitor web server logs for requests containing ../ or %2e%2e%2f (URL-encoded traversal).
  • Implement a Web Application Firewall (WAF) rule to block path traversal patterns.
  • Restrict file permissions on the server to prevent read access to sensitive files.
  • Use a security plugin (e.g., Wordfence) to detect and block malicious requests.

Honeypot: Deploy a fake wp-config.php file that logs access attempts and alerts administrators.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • HTTP requests with ../ or %2e%2e%2f in the file parameter.
    • Requests to /wp-content/plugins/usc-e-shop/download.php with suspicious query strings.
    • Outbound connections from the server to unknown IPs (if data exfiltration occurs).
  • File System IOCs:

    • Unauthorized access to /etc/passwd, wp-config.php, or other sensitive files.
    • Modified or newly created files in the web root (e.g., webshells).
  • Log IOCs:

    • Web server logs showing 200 OK responses to traversal requests.
    • Error logs with file_get_contents() failures for non-existent paths.

Detection Engineering

YARA Rule

rule CVE_2025_47511_Welcart_Path_Traversal {
    meta:
        description = "Detects path traversal attempts against Welcart e-Commerce plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-47511"
    strings:
        $traversal1 = "../"
        $traversal2 = "..\\"
        $traversal3 = "%2e%2e%2f"
        $traversal4 = "%2e%2e\\"
        $endpoint = "usc-e-shop/download.php"
    condition:
        any of ($traversal*) and $endpoint
}

Sigma Rule

title: CVE-2025-47511 Welcart Path Traversal Attempt
id: 8a9b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects HTTP requests with path traversal patterns targeting Welcart e-Commerce plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains:
            - '../'
            - '..\\'
            - '%2e%2e%2f'
            - '%2e%2e\\'
        cs-uri-stem|contains: 'usc-e-shop/download.php'
    condition: selection
falsepositives:
    - Legitimate use of relative paths in some plugins
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-47511 Welcart Path Traversal Attempt"; flow:to_server,established; content:"/usc-e-shop/download.php"; http_uri; content:"../"; http_uri; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if not essential, or restrict access to the vulnerable endpoint via .htaccess:
    <Files "download.php">
        Require all denied
    </Files>
    
  2. Apply a virtual patch using a WAF (e.g., ModSecurity rule):
    SecRule REQUEST_URI "@contains /usc-e-shop/download.php" "id:1000002,phase:1,deny,status:403,msg:'Welcart Path Traversal Blocked'"
    
  3. Monitor logs for exploitation attempts and block offending IPs.

Long-Term Fix:

  • Update to a patched version once released by the vendor.
  • Implement input validation and sanitization in custom code.
  • Use a security plugin like Wordfence or Sucuri to harden WordPress.

Workaround:

  • Replace the vulnerable download.php file with a patched version (see Vulnerable vs. Patched Code section).

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

👁️ 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:"Welcart e-Commerce"
http.html:"usc-e-shop"

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