CVE-2026-133335 in VirtueMart Extension
Summary
by MITRE • 11/25/2026
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.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
The vulnerability identified in VirtueMart versions 4.0.0 through 4.8.7 represents a critical security flaw within the Joomla e-commerce component, specifically classified as an unauthenticated local file inclusion that facilitates remote code execution. This issue stems from insufficient input validation and sanitization mechanisms within the main controller of the extension. When processing incoming HTTP requests, the application logic attempts to dynamically load specific controller files based on parameters provided by the user. However, the system fails to adequately filter or validate these request-derived names before incorporating them into file inclusion operations. This lack of rigorous boundary checking allows an attacker to manipulate input variables to traverse directory structures using standard path traversal sequences such as dot-dot-slash characters. By exploiting this weakness, a malicious actor can bypass intended access controls and force the server to include arbitrary PHP files located on the local filesystem rather than the expected application controllers.
The operational impact of this vulnerability is severe due to its unauthenticated nature, meaning that no valid user credentials or session tokens are required to initiate an attack. This significantly lowers the barrier for exploitation, allowing any internet-facing system running a vulnerable version of VirtueMart to be targeted by automated scanning tools and opportunistic attackers. The primary consequence of successful local file inclusion is remote code execution, particularly in environments where sensitive utility scripts remain accessible via the web server document root. A common vector exploited in such scenarios involves targeting files like pearcmd.php, which are often present on servers that have used PEAR for package management. When included and executed through this vulnerability, these files can be abused to execute arbitrary system commands under the context of the web server user account. This capability effectively grants an attacker full control over the underlying operating system, enabling data exfiltration, installation of persistent backdoors, or use of the compromised host as a pivot point for further network intrusion.
From a classification perspective, this vulnerability aligns with CWE-22, which defines Improper Limitation of a Pathname to a Restricted Directory, commonly known as path traversal. The mechanism by which arbitrary code is executed via included files corresponds closely to CWE-94, specifically the control of generation from code that produces an output or command described as Code Injection. In terms of adversary behavior mapping within the MITRE ATT&CK framework, this exploitation technique falls under T1505.003, Server Software Component: Web Shell, and potentially T1059.004 for Command and Scripting Interpreter execution via included files. The fact that this vulnerability has been observed in wild attacks underscores its high severity and the immediate risk it poses to e-commerce platforms relying on Joomla and VirtueMart stacks. Attackers frequently leverage such flaws during broad internet scans to identify vulnerable instances, making prompt remediation essential for maintaining infrastructure integrity.
Mitigation strategies must prioritize immediate patching of the affected software components. Administrators should upgrade VirtueMart to version 4.8.8 or later, where this controller fallback logic has been corrected with proper input validation and path normalization checks that prevent directory traversal attempts. In addition to updating the extension, organizations should conduct a thorough audit of their server configurations to ensure that sensitive utility files like pearcmd.php are not accessible via the web root. If such files must remain on the system for administrative purposes, they should be moved outside the publicly accessible document root or secured with strict access control lists and authentication requirements. Furthermore, implementing Web Application Firewalls can provide an additional layer of defense by detecting and blocking requests containing path traversal patterns before they reach the application logic. Regular vulnerability assessments and continuous monitoring for anomalous file inclusion attempts are also recommended to detect potential exploitation activities early in their lifecycle.