Wiz Agents & Workflows are here

CVE-2021-37823
PHP vulnerability analysis and mitigation

Overview

OpenCart 3.0.3.7 contains a SQL injection vulnerability that allows authenticated users with admin access to obtain database information or read server files through SQL injection in the background (Medium Blog). The vulnerability was discovered in July 2021 and assigned CVE-2021-37823 (NVD).

Technical details

The vulnerability exists in the backup/restore functionality of OpenCart's admin panel. An authenticated admin user can exploit this by uploading a maliciously crafted SQL file containing payloads like 'updatexml()' or time-based injection techniques through the system maintenance restore feature. The vulnerability has a CVSS v3.1 base score of 4.9 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

Successful exploitation allows attackers to obtain sensitive database information or read server files through SQL injection techniques like LOAD_FILE(). The vulnerability primarily impacts data confidentiality, allowing unauthorized access to database contents and potentially sensitive server files (Medium Blog).

Mitigation and workarounds

Users should upgrade to a version newer than OpenCart 3.0.3.7 that contains fixes for this vulnerability. Additionally, access to admin panel functionality should be strictly limited and monitored (NVD).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-wprj-9cvc-5w37HIGH7.5
  • PHPPHP
  • wwbn/avideo
NoNoMar 29, 2026
CVE-2026-34036MEDIUM6.5
  • PHPPHP
  • dolibarr/dolibarr
NoNoMar 31, 2026
CVE-2026-33887MEDIUM5.4
  • PHPPHP
  • statamic/cms
NoYesMar 27, 2026
CVE-2026-27599MEDIUM4.7
  • PHPPHP
  • ci4-cms-erp/ci4ms
NoYesMar 30, 2026
CVE-2026-34372MEDIUMN/A
  • PHPPHP
  • sulu/sulu
NoYesMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management