|
phpMyAdmin Database Name SQL Injection and Script Insertion
|
|
Secunia Advisory:
|
SA27630
|
|
|
Release Date:
|
2007-11-12
|
|
Last Update:
|
2007-11-15
|
|
Popularity:
|
8,706 views
|
|
|
Critical:
|
 Less critical
|
|
Impact:
|
Cross Site Scripting Manipulation of data
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | phpMyAdmin 2.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2007-5976 CVE-2007-5977
|
|
Description: Two vulnerabilities have been reported in phpMyAdmin, which can be exploited by malicious users to conduct script insertion and SQL injection attacks.
1) Input passed to the "db" parameter in db_create.php is not properly sanitised before being stored. 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 malicious data is viewed.
Successful exploitation requires that the attacker has CREATE DATABASE credentials, that the target user has valid user credentials, and that the target user uses a web browser that executes JavaScript code in <img> HTML elements (e.g. Opera).
2) Input passed to the "db" parameter in db_create.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation requires that the attacker has CREATE DATABASE credentials.
The vulnerabilities are reported in version 2.11.2. Prior versions may also be affected.
Solution: Update to version 2.11.2.1.
Provided and/or discovered by: 1) Omer Singer, The DigiTrust Group
2) Reported by the vendor.
Changelog: 2007-11-15: Added CVE reference.
Original Advisory: phpMyAdmin:
http://sourceforge.net/project/shownotes.php?release_id=553333
http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2007-7
1) http://www.digitrustgroup.com/advisories/tdg-advisory071108a.html
|
|
|
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.
|