|
phpMyAdmin Script Insertion and IP Address Check Bypass
|
|
Secunia Advisory:
|
SA22969
|
|
|
Release Date:
|
2006-11-17
|
|
Last Update:
|
2007-01-19
|
|
Popularity:
|
11,660 views
|
|
|
Critical:
|
 Less critical
|
|
Impact:
|
Security Bypass Cross Site Scripting
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | phpMyAdmin 2.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-6942 CVE-2006-6943 CVE-2006-6944
|
|
Description: Some vulnerabilities have been discovered in phpMyAdmin, which can be exploited by malicious users to conduct script insertion attacks and by malicious people to bypass security restrictions.
1) Input passed to the "Table comments" form field parameter in tbl_create.php and tbl_properties_operations.php is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which is executed in a user's browser session in context of an affected site when the database containing the table is viewed.
Successful exploitation requires valid user credentials.
2) Input passed in the "X-Forwarded-For", "X-Forwarded", "Forwarded-For", "Forwarded", "Via", "X-Coming-From", and "Coming-From" HTTP headers is trusted from all clients. This can be exploited to bypass IP address checks by connecting to phpMyAdmin and sending arbitrary values in one of the listed headers.
The vulnerabilities are confirmed in version 2.9.1. Other versions may also be affected.
Solution: Update to version 2.9.1.1.
Provided and/or discovered by: 1) Laurent Gaffié and Benjamin Mossé
2) Christian Schmidt
Changelog: 2006-11-20: Added vulnerability #2 and information about vendor update.
2007-01-19: Added CVE reference.
Original Advisory: Laurent Gaffié and Benjamin Mossé:
http://s-a-p.ca/index.php?page=OurAdvisories&id=37
phpMyAdmin:
http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2006-7
http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2006-9
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|