GHSA-prcg-mc23-hgjhcritical9.8
phpmyadmin contains SQL Injection vulnerability
Impact
SQL Injection vulnerability in function getTableCreationQuery in CreateAddField.php in phpMyAdmin 5.x before 5.0.2 via the tbl_storage_engine or tbl_collation parameters to tbl_create.php.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
phpmyadmin/phpmyadmin Packagist
| Affected range | Recorded fix |
|---|---|
| From 5.0.0 before 5.0.2Ecosystem versions | 5.0.2 |
Version evidence: OSV · GHSA-prcg-mc23-hgjh
View original version evidence (3 explicit versions)
Original source description
SQL Injection vulnerability in function getTableCreationQuery in CreateAddField.php in phpMyAdmin 5.x before 5.0.2 via the tbl_storage_engine or tbl_collation parameters to tbl_create.php.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2020-22452
- Source reference github.com/phpmyadmin/phpmyadmin/issues/15898
- Patch github.com/phpmyadmin/phpmyadmin/pull/16004
- Patch github.com/phpmyadmin/phpmyadmin/commit/bc982466f08ddccad4804ba928f84ff8e25107cb
- Source reference github.com/phpmyadmin/phpmyadmin