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'].
References (1)
Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
http://www.bigdiao.cc/2018/05/24/Opencart-v3-0-2-0/
Scores
CVSS v3
8.0
EPSS
0.0037
EPSS Percentile
59.0%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Details
CWE
CWE-22
CWE-434
Status
published
Products (2)
opencart/opencart
< 3.0.2.0
opencart/opencart
0Packagist
Published
May 26, 2018
Tracked Since
Feb 18, 2026