CVE-2007-5589 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via PHP_SELF and PATH_INFO inputs, potentially stealing session cookies or performing actions on behalf of authenticated users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2007-5589?
CVE-2007-5589 is a medium-severity cross-site scripting vulnerability in Phpmyadmin Phpmyadmin, published on 19 Oct 2007. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin before 2.11.1.2 allow remote attackers to inject arbitrary web script or HTML via certain input available in (1) PHP_SELF in (a) server_status.php, and (b) grab_globals.lib.php, (c) display_change_password.lib.php, and (d) common.lib.php in libraries/; and certain input available in PHP_SELF and (2) PATH_INFO in libraries/common.inc.php. NOTE: there might also be other vectors related to (3) REQUEST_URI.
Weakness: CWE-79
Which versions are affected by CVE-2007-5589?
It affects 1 product.
Products include Phpmyadmin Phpmyadmin.
How do I fix CVE-2007-5589?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2007-5589 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5589 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Phpmyadmin Phpmyadmin
Sources
Also known as DEBIAN-CVE-2007-5589, GHSA-9cxr-7vrj-vpj8.