phpMyAdmin tbl_create.php Table Comments Field XSS

2006-11-16T06:04:40
ID OSVDB:30470
Type osvdb
Reporter Benjamin Mossé(saps.audit@gmail.com), Laurent Gaffié(laurent.gaffie@gmail.com)
Modified 2006-11-16T06:04:40

Description

Vulnerability Description

phpMyAdmin contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the Table Comments Field upon submission to the 'tbl_create.php' script. 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.

Solution Description

Upgrade to version 2.9.1.1 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Short Description

phpMyAdmin contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the Table Comments Field upon submission to the 'tbl_create.php' script. 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.

References:

Vendor Specific Advisory URL Secunia Advisory ID:26733 Secunia Advisory ID:22969 Related OSVDB ID: 30471 Related OSVDB ID: 30472 Other Advisory URL: http://s-a-p.ca/index.php?page=OurAdvisories&id=37 Other Advisory URL: http://www.us.debian.org/security/2007/dsa-1370 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-11/0272.html