|
phpMyAdmin Script Insertion and IP Address Check Bypass
|
|
|
|
|
Secunia Advisory:
|
SA22969
|
|
|
Release Date:
|
2006-11-17
|
|
Last Update:
|
2007-01-19
|
|
|
Critical:
|

Less critical
|
|
Impact:
|
Security Bypass Cross Site Scripting
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | phpMyAdmin 2.x
|
| | CVE reference: | CVE-2006-6942 (Secunia mirror) CVE-2006-6943 (Secunia mirror) CVE-2006-6944 (Secunia mirror)
|
|
|
Want to know the next time vulnerabilities are fixed in this product? - Companies can be alerted via email and SMS! |
|
|
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
|
|
|
|
|
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.
|
|
|
|
34 Related Secunia Security Advisories, displaying 10
|
|
|
1. phpMyAdmin Cross-Site Request Forgery Vulnerabilities
|
|
2. phpMyAdmin Cross-Site Scripting Vulnerabilities
|
|
3. phpMyAdmin Shared Host Information Disclosure
|
|
4. phpMyAdmin Username/Password Session File Information Disclosure
|
|
5. phpMyAdmin "$_REQUEST" SQL Injection Vulnerability
|
|
6. phpMyAdmin "convcharset" Cross-Site Scripting
|
|
7. phpMyAdmin Database Name SQL Injection and Script Insertion
|
|
8. phpMyAdmin "server_status.php" Cross-Site Scripting
|
|
9. phpMyAdmin "setup.php" Cross-Site Scripting Vulnerability
|
|
10. phpMyAdmin Cross-Site Scripting Vulnerabilities
|
Show all related advisories
|
|
|
Send Feedback to Secunia
|
|
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.
|
|
|
|