SecurityContext

CVE-2024-21514: OpenCart - SQL Injection

  • Cve: CVE-2024-21514
  • Name: OpenCart - SQL Injection
  • Description: 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.
  • Impact: Unauthenticated attackers can dump the entire database, including customer PII data, leading to data breach and privacy violations.
  • Remediation: Update to the latest version of OpenCart and remove or patch the Divido payment extension.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.1908
  • Epss percentile: 0.97368
  • Assignee: [email protected]
  • Published at: 2024-06-22T05:15:09Z
  • Age in days: 885
  • Modified at: 2026-06-17T07:09:39Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-21514
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Public exploits

UrlSourceAdded date
https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266565nvd2024-06-22
https://github.com/bigb0x/CVE-2024-21514poc-in-github2024-06-23

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/opencart/opencart/commit/46bd5f5a8056ff9aad0aa7d71729c4cf593d67e2Patch
https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266565Exploit, Patch, Third Party Advisory
https://github.com/opencart/opencart/blob/3.0.3.9/upload/catalog/model/extension/payment/divido.php%23L114Product

Products

ProductAffectedPlatform boundSourcesUrl
opencart:opencart= 3.0.3.9nonvd/v1/products/opencart/opencart

Projects

RepositoryLink kindsIndexedUrl
opencart/opencartcommit, fix, packageyes/v1/repositories/opencart/opencart

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2024-06-22
  • Remote: yes
  • Exposed hosts: 1843
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports