Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. opencart/opencart
  4. ›
  5. CVE-2024-21514

CVE-2024-21514: SQL injection in opencart

June 22, 2024 (updated June 24, 2024)

This affects versions of the package opencart/opencart from 0.0.0. An SQL Injection issue was identified in the Divido payment extension for OpenCart, which is included by default in version 3.0.3.9. As an anonymous unauthenticated user, if the Divido payment module is installed (it does not have to be enabled), it is possible to exploit SQL injection to gain unauthorised access to the backend database. For any site which is vulnerable, any unauthenticated user could exploit this to dump the entire OpenCart database, including customer PII data.

References

  • github.com/advisories/GHSA-7crj-24g3-g7h7
  • github.com/opencart/opencart
  • github.com/opencart/opencart/blob/3.0.3.9/upload/catalog/model/extension/payment/divido.php%23L114
  • github.com/opencart/opencart/commit/46bd5f5a8056ff9aad0aa7d71729c4cf593d67e2
  • nvd.nist.gov/vuln/detail/CVE-2024-21514
  • security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266565

Code Behaviors & Features

Detect and mitigate CVE-2024-21514 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.0.3.9

Solution

Unfortunately, there is no solution available yet.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/opencart/opencart/CVE-2024-21514.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:40 +0000.