CVE-2006-6942

unknown
Published — · Modified —
CVSS v3
CVSS v4 NEW
not yet in upstream
VIR risk
1.0

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

✚ Propose a mitigation on Community → Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-29058 webapps php verified text · 1 KB
laurent gaffie · 2006-09-15

phpMyAdmin 2.x - 'db_create.php?db' Cross-Site Scripting

text exploit Source: Exploit-DB
source: https://www.securityfocus.com/bid/21137/info

phpMyAdmin is prone to multiple input-validation vulnerabilities, including an HTML-injection vulnerability, cross-site scripting vulnerabilities, and information-disclosure vulnerabilities.

An attacker could exploit these vulnerabilities to view sensitive information or to have arbitrary script code execute in the context of the affected site, which may allow the attacker to steal cookie-based authentication credentials or change the way the site is rendered to the user. Data gained could aid in further attacks.

All versions of phpMyAdmin are vulnerable.

http://www.example.com/phpmyadmin/db_create.php?token=your_token&reload=1&db=[double xss(2 followed xss)]
EDB-29059 webapps php verified
laurent gaffie · 2006-09-15

phpMyAdmin 2.x - 'db_operations.php' Multiple Cross-Site Scripting Vulnerabilities

Source code queued for fetch — refresh in a moment.
EDB-29060 webapps php verified
laurent gaffie · 2006-09-15

phpMyAdmin 2.x - 'querywindow.php' Multiple Cross-Site Scripting Vulnerabilities

Source code queued for fetch — refresh in a moment.
EDB-29061 webapps php verified
laurent gaffie · 2006-09-15

phpMyAdmin 2.x - 'sql.php?pos' Cross-Site Scripting

Source code queued for fetch — refresh in a moment.

OS impact

debian Debian Fixed 4 releases
VersionStatusFixed in
trixie Fixed 4:2.9.1.1-2
sid Fixed 4:2.9.1.1-2
bullseye Fixed 4:2.9.1.1-2
bookworm Fixed 4:2.9.1.1-2

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.