Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

phpMyAdmin Local File Inclusion and Cross-Site Scripting

-

Release Date:  2005-02-24    Last Update:  2005-10-24    Views:  20,126

Secunia Advisory SA14382

Where:

From remote

Impact:

Cross Site Scripting, Exposure of sensitive information

Solution Status:

Partial Fix

CVE Reference(s):

Description


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.


Solution:
Update to version 2.6.1-pl2 or later.

Further details available to Secunia VIM customers

Provided and/or discovered by:
Maksymilian Arciemowicz

Original Advisory:
http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-1
http://securityreason.com/achievement_securityalert/1

Deep Links:
Links available to Secunia VIM customers

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 vuln@secunia.com

Subject: phpMyAdmin Local File Inclusion and Cross-Site Scripting

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability