[UNIX] phpMyAdmin convcharset Parameter Cross Site Scripting
SecuriTeam <[email protected]>
| Newsgroups | gmane.comp.security.securiteam |
|---|---|
| Message-ID | <[email protected]> |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - phpMyAdmin convcharset Parameter Cross Site Scripting ------------------------------------------------------------------------ SUMMARY <http://www.phpmyadmin.net/home_page/index.php> phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web. Currently it can create and drop databases, create/drop/alter tables, delete/edit/add fields, execute any SQL statement, manage keys on fields, manage privileges,export data into various formats. phpMyAdmin contains a vulnerability that is caused due to improper validation of user provided input supplied via the "convcharset" parameter. DETAILS Vulnerable Systems: * phpMyAdmin version 2.6.2-beta1 Immune Systems: * phpMyAdmin version 2.6.2-rc1 This vulnerability can be exploited to execute arbitrary HTML and/or script code (JavaScript, VBScript, etc.) in a user's browser session in context of the vulnerable site. The vulnerability also allows an attacker to compromise the phpMyAdmin account via cookie theft. Examples: http://host/phpmyadmin/index.php?pma_username=&pma_password=&server=1& lang=en-iso-8859-1&convcharset=\"><script>alert(document.cookie)</script> http://host/phpmyadmin/index.php?pma_username=&pma_password=&server=1& lang=en-iso-8859-1&convcharset=\"><h1>XSS</h1> Disclosure Timeline: * 29.03.05 - Vulnerability discovered * 29.03.05 - Vendor notified * 29.03.05 - Vendor response and bug fixed * 03.04.05 - New version released * 03.04.05 - Advisory released ADDITIONAL INFORMATION The information has been provided by <mailto:[email protected]> Oriol Torrent Santiago. The original article can be found at: <http://www.arrelnet.com/advisories/adv20050403.html> http://www.arrelnet.com/advisories/adv20050403.html The original article can be found at: <http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-3> http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-3 ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: [email protected] In order to subscribe to the mailing list, simply forward this email to: [email protected] ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.