CVE-2024-21519
Opencart Arbitrary File Creation Vulnerability
Description
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.
INFO
Published Date :
June 22, 2024, 5:15 a.m.
Last Modified :
June 27, 2024, 1:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
1.2
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-21519
.
URL | Resource |
---|---|
https://github.com/opencart/opencart/blob/4.0.2.3/upload/admin/controller/tool/upload.php%23L353 | |
https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579 | Exploit Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-21519
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-21519
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jun. 27, 2024
Action Type Old Value New Value Added Reference Snyk https://github.com/opencart/opencart/blob/4.0.2.3/upload/admin/controller/tool/upload.php%23L353 [No types assigned] Removed Reference Snyk https://github.com/opencart/opencart/blob/master/upload/admin/controller/tool/upload.php%23L353 -
Initial Analysis by [email protected]
Jun. 24, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/opencart/opencart/blob/master/upload/admin/controller/tool/upload.php%23L353 No Types Assigned https://github.com/opencart/opencart/blob/master/upload/admin/controller/tool/upload.php%23L353 Broken Link Changed Reference Type https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579 No Types Assigned https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579 Exploit, Third Party Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:opencart:opencart:*:*:*:*:*:*:*:* versions from (including) 4.0.0.0 -
CVE Received by [email protected]
Jun. 22, 2024
Action Type Old Value New Value Added Description 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. Added Reference Snyk https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579 [No types assigned] Added Reference Snyk https://github.com/opencart/opencart/blob/master/upload/admin/controller/tool/upload.php%23L353 [No types assigned] Added CWE Snyk CWE-20 Added CVSS V3.1 Snyk AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-21519
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-21519
weaknesses.