Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS03cTNoLWo5NXEtM3ZqaM4AA9Sy
Arbitrary File Creation in opencart
This affects versions of the package opencart/opencart from 4.0.0.0. An Arbitrary File Creation issue was identified via the database restoration functionality. By injecting PHP code into the database, an attacker with admin privileges can create a backup file with an arbitrary filename (including the extension), within /system/storage/backup.
Note:
It is less likely for the created file to be available within the web root, as part of the security recommendations for the application suggest moving the storage path outside of the web root.
Permalink: https://github.com/advisories/GHSA-7q3h-j95q-3vjhJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03cTNoLWo5NXEtM3ZqaM4AA9Sy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 3 months ago
Updated: about 1 month ago
CVSS Score: 6.6
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-7q3h-j95q-3vjh, CVE-2024-21519
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-21519
- https://github.com/opencart/opencart/blob/master/upload/admin/controller/tool/upload.php%23L353
- https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579
- https://github.com/opencart/opencart/blob/4.0.2.3/upload/admin/controller/tool/upload.php%23L353
- https://github.com/advisories/GHSA-7q3h-j95q-3vjh
Blast Radius: 7.8
Affected Packages
packagist:opencart/opencart
Dependent packages: 12Dependent repositories: 15
Downloads: 34,604 total
Affected Version Ranges: >= 4.0.0.0
No known fixed version
All affected versions: