Security mailing lists by PureSourceCode

CVE-2024-21519

HIGH 7.2CVSS 3.1

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.

Published
22 Jun 2024
Last modified
10 Sep 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-20
Also known as
BIT-opencart-2024-21519GHSA-7q3h-j95q-3vjh
Sources
NVDJSONOSV GHSA-7q3h-j95q-3vjhJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 6.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD opencart opencart
cpe:2.3:a:opencart:opencart:*:*:*:*:*:*:*:*
>= 4.0.0.0
OSV Packagist opencart/opencart >= 4.0.0.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 22 Jun 2024)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 22 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.