CVE-2024-21519

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:opencart:opencart:*:*:*:*:*:*:*:*

History

21 Nov 2024, 08:54

Type Values Removed Values Added
References () https://github.com/opencart/opencart/blob/4.0.2.3/upload/admin/controller/tool/upload.php%23L353 - () https://github.com/opencart/opencart/blob/4.0.2.3/upload/admin/controller/tool/upload.php%23L353 -
References () https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579 - Exploit, Third Party Advisory () https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579 - Exploit, Third Party Advisory
CVSS v2 : unknown
v3 : 7.2
v2 : unknown
v3 : 6.6

27 Jun 2024, 13:15

Type Values Removed Values Added
References
  • {'url': 'https://github.com/opencart/opencart/blob/master/upload/admin/controller/tool/upload.php%23L353', 'tags': ['Broken Link'], 'source': 'report@snyk.io'}
  • () https://github.com/opencart/opencart/blob/4.0.2.3/upload/admin/controller/tool/upload.php%23L353 -

24 Jun 2024, 19:55

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 6.6
v2 : unknown
v3 : 7.2
References () https://github.com/opencart/opencart/blob/master/upload/admin/controller/tool/upload.php%23L353 - () https://github.com/opencart/opencart/blob/master/upload/admin/controller/tool/upload.php%23L353 - Broken Link
References () https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579 - () https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266579 - Exploit, Third Party Advisory
First Time Opencart
Opencart opencart
CWE NVD-CWE-noinfo
CPE cpe:2.3:a:opencart:opencart:*:*:*:*:*:*:*:*

24 Jun 2024, 12:57

Type Values Removed Values Added
Summary
  • (es) Esto afecta a las versiones del paquete opencart/opencart desde 4.0.0.0. Se identificó un problema de creación arbitraria de archivos mediante la funcionalidad de restauración de la base de datos. Al inyectar código PHP en la base de datos, un atacante con privilegios de administrador puede crear un archivo de copia de seguridad con un nombre de archivo arbitrario (incluida la extensión), dentro de /system/storage/backup. **Nota:** Es menos probable que el archivo creado esté disponible en la raíz web, ya que parte de las recomendaciones de seguridad para la aplicación sugieren mover la ruta de almacenamiento fuera de la raíz web.

22 Jun 2024, 05:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-22 05:15

Updated : 2024-11-21 08:54


NVD link : CVE-2024-21519

Mitre link : CVE-2024-21519

CVE.ORG link : CVE-2024-21519


JSON object : View

Products Affected

opencart

  • opencart
CWE
CWE-20

Improper Input Validation

NVD-CWE-noinfo