CVE-2020-22452

SQL Injection vulnerability in function getTableCreationQuery in CreateAddField.php in phpMyAdmin 5.x before 5.2.0 via the tbl_storage_engine or tbl_collation…

Critical · published January 26, 2023

CVSS v3.1
9.8
EPSS
2%
Percentile
77.2
In the wild
Unconfirmed
What it is

🚨 A sneaky SQL injection lurks in phpMyAdmin's getTableCreationQuery function! Just a couple of parameters are the key to chaos. 🔥 Think of it like a chef who blindly accepts any ingredient without checking the quality — a rogue item could spoil the entire dish. Here, the tbl_storage_engine or tbl_collation parameters are those unchecked ingredients, making your database vulnerable! An attacker could take full control of your database, extracting sensitive data or even manipulating it at will. Imagine a malicious actor having access to every recipe in your kitchen, able to change ingredients or replicate your secret sauces! This could lead to severe data breaches and loss of trust.

Put simply

Think of it like a chef who blindly accepts any ingredient without checking the quality — a rogue item could spoil the entire dish. Here, the tbl_storage_engine or tbl_collation parameters are those unchecked ingredients, making your database vulnerable! This vulnerability allows SQL injection via the tbl_storage_engine or tbl_collation parameters in the CreateAddField.php script, enabling attackers to run arbitrary SQL commands in your database without proper validation.

What to do

An attacker could take full control of your database, extracting sensitive data or even manipulating it at will. Imagine a malicious actor having access to every recipe in your kitchen, able to change ingredients or replicate your secret sauces! This could lead to severe data breaches and loss of trust. Upgrade phpMyAdmin immediately to version 5.2.0 or later to patch this vulnerability. Also, review your database configurations to ensure all inputs are properly sanitized and validated. Don't wait—take action to secure your data! You've got this! Follow these steps, and you'll be on your way to securing your database in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01711 · 77.2th percentile
Published
2023-01-26T00:00Z
EPSS history
Timeline
  • 26 JAN 00:00Z
    SQL Injection vulnerability in function getTableCreationQuery in CreateAddField.php in phpMyAdmin 5.x before 5.2.0 via the tbl_storage_engine or tbl_collation…
    cvelistv5