CVE-2007-5977 Cross-site scripting in n/a
Authenticated users with database creation privileges can inject scripts via the database name parameter, potentially compromising other 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-5977?
CVE-2007-5977 is a low-severity cross-site scripting vulnerability in Phpmyadmin Phpmyadmin, published on 15 Nov 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
Cross-site scripting (XSS) vulnerability in db_create.php in phpMyAdmin before 2.11.2.1 allows remote authenticated users with CREATE DATABASE privileges to inject arbitrary web script or HTML via a hex-encoded IMG element in the db parameter in a POST request, a different vulnerability than CVE-2006-6942.
Weakness: CWE-79
Which versions are affected by CVE-2007-5977?
It affects 1 product.
Products include Phpmyadmin Phpmyadmin.
How do I fix CVE-2007-5977?
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-5977 being exploited?
There is no known exploitation of CVE-2007-5977 in the wild and no public exploit code.
Other vulnerabilities in Phpmyadmin Phpmyadmin
Sources
Also known as DEBIAN-CVE-2007-5977, GHSA-7wx4-pm9p-2c7w.