Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2025-6002: Unrestricted File Upload in VirtueMart Product Image Backend

Published Jun 11, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.2High · v3.1
EPSS0.88%60th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2025-6002CWE-434 · Unrestricted Upload of File with…

CVE-2025-6002 is an unrestricted file upload vulnerability in the Product Image section of the VirtueMart backend for Joomla!. Authenticated attackers with high privileges can upload files with arbitrary extensions, including executable or malicious files. This flaw is due to insufficient validation of uploaded file types, allowing attackers to upload web shells or other malicious payloads, potentially leading to remote code execution or other severe impacts depending on server configuration. The vulnerability affects VirtueMart versions prior to 4.4.10 and is classified as CWE-434.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows attackers to upload and execute arbitrary files on the server, leading to remote code execution, full server compromise, or other security impacts depending on the server's configuration. When chained with CSRF (CVE-2025-6001), unauthenticated remote code execution is possible if a privileged user is tricked into uploading a malicious file.

Remediation

Patch, then assume compromise.

Upgrade VirtueMart to version 4.4.10 or later, which includes a patch for this vulnerability. Ensure that file upload functionality strictly validates file types and restricts executable or dangerous file extensions. Review and harden server configurations to prevent execution of uploaded files in media directories.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
CVE-2025-6002This repository is a small standalone exploit PoC consisting of two files: a README and a single Python script, exploit.py. The script targets an authenticated arbitrary file upload vulnerability in VirtueMart before version 4.4.10, identified in the repository as CVE-2025-6002. Its workflow is straightforward: it accepts a base URL and admin credentials, logs into the Joomla administrator interface, navigates to the VirtueMart product management area, extracts a CSRF token from returned HTML, creates a new product, and uploads a PHP file containing a command-execution webshell. After upload, it attempts to access the uploaded file from the public product image directory. The exploit is clearly intended for remote exploitation over HTTP and requires valid credentials, so it is not an unauthenticated RCE. The main capability implemented in code is arbitrary command execution through an uploaded PHP webshell. The payload is hardcoded as <?php system($_GET['cmd'] . ' 2>&1'); ?>. Although both the README and script comments claim the exploit invokes a reverse shell to a supplied attacker IP and port, the current implementation does not use the --remote-ip or --remote-port arguments anywhere after parsing them. Instead, get_rev_shell() simply requests the uploaded file with cmd=id, making this an operational authenticated webshell upload/command-execution PoC rather than a full reverse-shell exploit. Notable implementation details: the script only accepts base URLs beginning with http://, not https://; it uses requests.Session for cookie handling; it heuristically identifies the session cookie by looking for a cookie name of length 32 or 64; and it extracts the CSRF token using a regex for a JSON-style "csrf.token" field. There is also a commented TODO suggesting future version detection by reading /administrator/components/com_virtuemart/virtuemart.xml. Overall, the repository is purpose-built, minimal, and functional as a PoC for authenticated file upload leading to webshell-based command execution.schn1tzelme1ster · Disclosed Mar 21, 2026 · python · markdown · network · authenticated web application exploitOperational
FAQ

Frequently asked questions

Is CVE-2025-6002 exploited in the wild?
As of Oct 14, 2026, Mallory has no reports of CVE-2025-6002 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-6002?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2025-6002, the earliest disclosed Mar 21, 2026.
Is there a patch for CVE-2025-6002?
Upgrade VirtueMart to version 4.4.10 or later, which includes a patch for this vulnerability. Ensure that file upload functionality strictly validates file types and restricts executable or dangerous file extensions.
How severe is CVE-2025-6002?
CVE-2025-6002 has a CVSS v3.1 score of 7.2 (High) and an EPSS score of 0.88% (60th percentile) as of Oct 14, 2026.
Activity feed

Recent activity

No public activity tracked yet. Mallory keeps watching.

View more in app →

No public activity observed for this vulnerability.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.