CVE-2018-11494: OpenCart - Path Traversal
- Cve: CVE-2018-11494
- Name: OpenCart - Path Traversal
- Description: The "program extension upload" feature in OpenCart through 3.0.2.0 has a six-step process (upload, install, unzip, move, xml, remove) that allows attackers to execute arbitrary code if the remove step is skipped, because the attacker can discover a secret temporary directory name (containing 10 random digits) via a directory traversal attack involving language_info['code'].
- Impact: Attackers can execute arbitrary code on the server, leading to full system compromise.
- Remediation: Update to the latest version of OpenCart that addresses this issue or apply security patches to prevent skipping the remove step.
- Vulnerability type: path_traversal
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8
- Cvss vector: CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.02296
- Epss percentile: 0.83715
- Assignee: [email protected]
- Published at: 2018-05-26T20:29:00Z
- Age in days: 3104
- Modified at: 2026-06-17T01:36:02Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-11494
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://www.bigdiao.cc/2018/05/24/Opencart-v3-0-2-0/ | nvd | 2018-05-26 |
References
| Url | Source | Tags |
|---|---|---|
| http://www.bigdiao.cc/2018/05/24/Opencart-v3-0-2-0/ | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| opencart:opencart | <= 3.0.2.0 | no | nvd | /v1/products/opencart/opencart |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| opencart/opencart | package | yes | /v1/repositories/opencart/opencart |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-05-26
- Remote: yes
- Authentication required: yes
- Exposed hosts: 1843
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports