Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:12347
HistoryApr 21, 2006 - 12:00 a.m.

phpMyAdmin XSS vuln.

2006-04-2100:00:00
vulners.com
8

phpMyAdmin XSS vuln.

###############################################
Vuln. discovered by : r0t
Date: 20 april 2006
vendorlink:http://www.phpmyadmin.net/
affected versions:
phpMyAdmin 2.8.0.3
phpMyAdmin 2.8.0.2
phpMyAdmin 2.8.1-dev (CVS version)
phpMyAdmin 2.9.0-dev (CVS version)
and prior versions also can be affected
orginal advisory:
http://pridels.blogspot.com/2006/04/phpmyadmin-xss-vuln.html
###############################################

Vuln. Description:

phpMyAdmin contains a flaw that allows a remote cross site scripting attack.
This flaw exists because input passed to "lang" paremeter in "index.php"
isn't properly sanitised before being returned to the user.
This could allow a user to create a specially crafted URL that would execute
arbitrary code in a user's browser within the trust relationship between the
browser and the server, leading to a loss of integrity.

example:

http://[victim]/phpMyAdmin/index.php?lang=[XSS]

note:
attacker dont must be logged in vuln. system to exploit this vuln.

###############################################
Solution:
Edit the source code to ensure that input is properly sanitised.
###############################################
More information @ unsecured-systems.com/forum/