CVEvulnerability

CVE-2018-11494

8.0 HIGH Published 2018-05-26 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-05-26
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
8.0 HIGH — CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.0 MEDIUM — AV:N/AC:M/Au:S/C:P/I:P/A:P
Weaknesses
CWE-22, CWE-434

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'].

Affected configurations

• opencart opencart (<= 3.0.2.0)

Related

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-434 Unrestricted Upload of File with Dangerous Type weakness

References