Cross-site scripting in phpMyAdmin - CVE-2022-23808

 

Cross-site scripting in phpMyAdmin - CVE-2022-23808

Published: January 22, 2022 / Updated: September 18, 2023


Vulnerability identifier: #VU59916
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2022-23808
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data when processing a setup script. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

phpMyAdmin
Gentoo Linux
Fedora
phpMyAdmin
dev-db/phpmyadmin

How to mitigate CVE-2022-23808

Install updates from vendor's website.

phpMyAdmin - update to 5.1.2
phpMyAdmin - addressed in versions 5.1.2-1.fc34, 5.1.2-1.fc35
dev-db/phpmyadmin - update to 5.2.0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins