Headline
CVE-2022-23808: Security - PMASA-2022-2
An issue was discovered in phpMyAdmin 5.1 before 5.1.2. An attacker can inject malicious code into aspects of the setup script, which can allow XSS or HTML injection.
Announcement-ID: PMASA-2022-2
Date: 2022-01-10
Summary
Multiple XSS and HTML injection attacks in setup script
Description
A series of weaknesses has been discovered that could allow an attacker to inject malicious code in to aspects of the setup script, which can allow XSS or HTML injection.
Severity
We consider this vulnerability to be of moderate severity.
Mitigation factor
A phpMyAdmin installation with a configuration file `config.inc.php` will not allow access to the setup script, which in turn mitigates this attack.
Affected Versions
phpMyAdmin versions of the 5.1 branch prior to 5.1.2 are affected.
Solution
Upgrade to phpMyAdmin 5.1.2 or newer or apply patch listed below.
References
Thanks to Dipak Panchal (th3.d1p4k) for reporting this vulnerability.
Assigned CVE ids: CVE-2022-23808
CWE ids: CWE-661
Patches
The following commits have been made to fix this issue:
- 5118acce1dfcdb09cbc0f73927bf51c46feeaf38
- 44eb12f15a562718bbe54c9a16af91ceea335d59
More information
For further information and in case of questions, please contact the phpMyAdmin team. Our website is phpmyadmin.net.
Related news
Gentoo Linux Security Advisory 202311-17 - Multiple vulnerabilities have been discovered in phpMyAdmin, the worst of which allows for denial of service. Versions greater than or equal to 5.2.0 are affected.