CVE-2006-6942 Cross-site scripting in n/a
Remote attackers can inject arbitrary scripts via multiple parameters in PhpMyAdmin, potentially stealing user data or hijacking sessions.
- 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-2006-6942?
CVE-2006-6942 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 19 Jan 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.9.1.1 allow remote attackers to inject arbitrary HTML or web script via (1) a comment for a table name, as exploited through (a) db_operations.php, (2) the db parameter to (b) db_create.php, (3) the newname parameter to db_operations.php, the (4) query_history_latest, (5) query_history_latest_db, and (6) querydisplay_tab parameters to (c) querywindow.php, and (7) the pos parameter to (d) sql.php.
Weakness: CWE-79
Which versions are affected by CVE-2006-6942?
It affects 2 products.
Products include Debian Debian Linux, Phpmyadmin Phpmyadmin.
How do I fix CVE-2006-6942?
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-2006-6942 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-6942 exists.
Public exploit code: 4 Exploit-DB entries.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2006-6942, GHSA-ggm5-jxm9-g55m.