Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. opencart/opencart
  4. ›
  5. CVE-2018-11494

CVE-2018-11494: Path Traversal

May 26, 2018 (updated June 29, 2018)

The ‘program extension upload’ feature in OpenCart 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 random digits) via a directory traversal attack.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-11494

Code Behaviors & Features

Detect and mitigate CVE-2018-11494 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.0.2.0

Fixed versions

  • 3.0.3.0

Solution

Upgrade to version 3.0.3.0 or above.

Impact 8 HIGH

CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

packagist/opencart/opencart/CVE-2018-11494.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:47 +0000.