phpmyadmin/composer · Security
phpMyAdmin SQL injection vulnerability
- GHSA ID
- GHSA-f4cr-3xmc-2wpm
- CVE ID
- CVE-2020-10802
- Severity
- high
- Published
- Updated
- CVSS
- 8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Description
In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability has been discovered where certain parameters are not properly escaped when generating certain queries for search actions in libraries/classes/Controllers/Table/TableSearchController.php. An attacker can generate a crafted database or table name. The attack can be performed if a user attempts certain search operations on the malicious database or table.
CWEs
- CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-10802 ↗
- https://lists.debian.org/debian-lts-announce/2020/03/msg00028.html ↗
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00046.html ↗
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00050.html ↗
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00005.html ↗
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-10802.yaml ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO ↗
- https://www.phpmyadmin.net/security/PMASA-2020-3 ↗
- https://github.com/advisories/GHSA-f4cr-3xmc-2wpm ↗