phpMyAdmin tbl_properties_links.php url_query Variable XSS

2003-06-18T00:00:00
ID OSVDB:8461
Type osvdb
Reporter Lorenzo Hernandez Garcia(novappc@novappc.com)
Modified 2003-06-18T00:00:00

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 "url_query" variable upon submission to the "tbl_properties_links.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.5.2 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 "url_query" variable upon submission to the "tbl_properties_links.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.

Manual Testing Notes

http://[victim]/mysql/tbl_properties_links.php? table_info_num_rows=10&url_query="><h1>XSS

References:

Nessus Plugin ID:11761 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2003-07/0019.html Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2003-06/0129.html Bugtraq ID: 7963