PMASA-2022-2

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:

More information

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

Announcements