SQL injection in Designer feature

2019-10-28T00:00:00
ID PHPMYADMIN:PMASA-2019-5
Type phpmyadmin
Reporter phpMyAdmin
Modified 2019-10-28T00:00:00

Description

PMASA-2019-5

Announcement-ID: PMASA-2019-5

Date: 2019-10-28

Summary

SQL injection in Designer feature

Description

A vulnerability was reported where a specially crafted database name can be used to trigger an SQL injection attack through the designer feature.

This is similar to PMASA-2019-2 and PMASA-2019-3, but has affected different versions.

Severity

We consider this vulnerability to be serious

Affected Versions

phpMyAdmin versions prior to 4.9.2 are affected, at least as old as 4.7.7.

Solution

Upgrade to phpMyAdmin 4.9.2 or newer or apply this patch for versions older than 4.9.2: https://gist.github.com/ibennetch/4ba7d2fac6f384a5039d697a110e0912

References

Thanks to phpMyAdmin team member William Desportes for finding this vulnerability.

Assigned CVE ids: CVE-2019-18622

CWE ids: CWE-661

Patches

The following commits have been made to fix this issue:

More information

For further information and in case of questions, please contact the phpMyAdmin team. Our website is phpmyadmin.net.