CVE-2023-25727
Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin
Auswirkung
In phpMyAdmin before 4.9.11 and 5.x before 5.2.1, an authenticated user can trigger Cross-site Scripting (XSS) by uploading a crafted .sql file through the drag-and-drop interface. By disabling the configuration directive `$cfg['enable_drag_drop_import']`, users will be unable to use the drag and drop upload which would protect against the vulnerability.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | phpmyadmin/phpmyadmin | >= 4.3.0, < 4.9.11 | 4.9.11 |
Betroffene Produkte · phpMyAdmin
| Produkt | Betroffene Versionen |
|---|---|
| phpMyAdmin | vor 4.9.11 ab 5.0.0 vor 5.2.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://www.phpmyadmin.net/security/PMASA-2023-1/
- https://lists.debian.org/debian-lts-announce/2025/04/msg00016.html
- https://github.com/advisories/GHSA-6hr3-44gx-g6wh
- https://nvd.nist.gov/vuln/detail/CVE-2023-25727
- https://github.com/phpmyadmin/phpmyadmin/commit/53f70fd7f3b388639922e6cc1ca51fbe890c91cc
- https://github.com/phpmyadmin/phpmyadmin/commit/efa2406695551667f726497750d3db91fb6f662e
- https://www.phpmyadmin.net/security/PMASA-2023-1