Maksymilian Arciemowicz has reported some vulnerabilities in phpMyAdmin, which can be exploited by malicious people to conduct cross-site scripting attacks and disclose sensitive information.
1) Input passed to the "strServer", "cfg[BgcolorOne]", and "strServerChoice" parameters in "select_server.lib.php", the "bgcolor" and "row_no" parameters in "display_tbl_links.lib.php", the "left_font_family" parameter in "theme_left.css.php", and the "right_font_family" parameter in "theme_right.css.php" is not properly sanitised before being returned to users. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
Successful exploitation requires that "register_globals" is enabled.
2) Input passed to the "GLOBALS[cfg][ThemePath]" parameter in "phpmyadmin.css.php" and "cfg[Server][extension]" parameter in "database_interface.lib.php" is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources.
Successful exploitation requires that "register_globals" is enabled and that "magic_quotes_gpc" is disabled.
The vulnerabilities have been reported in version 2.6.1. Other versions may also be affected.
It is also possible to disclose the full path to certain scripts by accessing them directly.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: phpMyAdmin Local File Inclusion and Cross-Site Scripting
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.