VDB
Sign up
MEDIUM4.9

GHSA-qgrf-34hp-ghm9

OpenCart Path Traversal

Details

OpenCart through 3.0.2.0 allows directory traversal in the `editDownload` function in `admin\model\catalog\download.php` via `admin/index.php?route=catalog/download/edit`, related to the `download_id`. For example, an attacker can download `../../config.php`.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/opencart/opencart
Introduced in: 0

No fixed version published yet for opencart/opencart (composer). Pin to a known-safe version or switch to an alternative.

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/opencart/opencart"]}'