{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-21519","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","state":"PUBLISHED","assignerShortName":"snyk","dateReserved":"2023-12-22T12:33:20.120Z","datePublished":"2024-06-22T05:00:04.894Z","dateUpdated":"2024-08-01T22:20:40.947Z"},"containers":{"cna":{"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":6.6,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P"}}],"credits":[{"value":"Calum Hutton","lang":"en"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"Arbitrary File Creation","lang":"en"}]}],"providerMetadata":{"orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","shortName":"snyk","dateUpdated":"2024-06-27T12:40:12.894Z"},"descriptions":[{"value":"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.\r\r**Note:**\r\rIt 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.","lang":"en"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579"},{"url":"https://github.com/opencart/opencart/blob/4.0.2.3/upload/admin/controller/tool/upload.php%23L353"}],"affected":[{"product":"opencart/opencart","versions":[{"version":"4.0.0.0","lessThan":"*","status":"affected","versionType":"semver"}],"vendor":"n/a"}]},"adp":[{"affected":[{"vendor":"opencart","product":"opencart","cpes":["cpe:2.3:a:opencart:opencart:4.0.0.0:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"4.0.0.0","status":"affected","lessThan":"*","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-24T13:47:53.984916Z","id":"CVE-2024-21519","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-24T13:49:02.379Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T22:20:40.947Z"},"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579","tags":["x_transferred"]},{"url":"https://github.com/opencart/opencart/blob/4.0.2.3/upload/admin/controller/tool/upload.php%23L353","tags":["x_transferred"]}]}]}}