CVE-2020-22452
PHP vulnerability analysis and mitigation

Overview

CVE-2020-22452 is a SQL Injection vulnerability discovered in phpMyAdmin versions 5.x before 5.2.0. The vulnerability exists in the function getTableCreationQuery within CreateAddField.php, which can be exploited via the tblstorageengine or tblcollation parameters to tblcreate.php (NVD, CVE).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue specifically occurs in the getTableCreationQuery function located in CreateAddField.php, where insufficient input validation allows for SQL injection through the tblstorageengine or tblcollation parameters when making requests to tblcreate.php (NVD).

Impact

Due to the critical CVSS score of 9.8, this vulnerability poses a severe risk as it allows attackers to potentially execute arbitrary SQL commands on the underlying database. The vulnerability could lead to unauthorized access, data manipulation, or complete compromise of the database system (NVD).

Mitigation and workarounds

The vulnerability was fixed in phpMyAdmin version 5.2.0. The fix involved implementing proper escaping of the tblstorageengine argument. Users are advised to upgrade to phpMyAdmin version 5.2.0 or later to mitigate this vulnerability (GitHub PR).

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

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

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