phpMyAdmin db and table parameter cross-site scripting
| phpmyadmin-dbtable-xss (32858) |
Description:
phpMyAdmin is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the index.php script. An authenticated remote attacker with access to the cookie and token variables could exploit this vulnerability using the db or table parameter to inject malicious script into a Web page which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.
*CVSS:
| Base Score: | 2.5 |
| Access Vector: | Remote |
| Access Complexity: | High |
| Authentication: | Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | None |
| Temporal Score: | 2.2 |
| Exploitability: | High |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of phpMyAdmin (2.10.0 or later), available from the phpMyAdmin Web site. See References.
For Debian GNU/Linux (phpmyadmin):
Refer to DSA-1370-1 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- BugTraq Mailing List, Wed Mar 07 2007 - 09:53:46 CST : xss in phpmyadmin >=2.8.0 and < 2.10.0.
- phpMyAdmin Web site: phpMyAdmin | MySQL Database Administration Tool | www.phpmyadmin.net.
- CVE-2007-1395: Incomplete blacklist vulnerability in index.php in phpMyAdmin 2.8.0 through 2.9.2 allows remote attackers to conduct cross-site scripting (XSS) attacks by injecting arbitrary JavaScript or HTML in a (1) db or (2) table parameter value followed by an uppercase </SCRIPT> end tag, which bypasses the protection against lowercase </script>.
- DSA-1370: phpmyadmin -- several vulnerabilities
- MDKSA-2007:199: Updated phpMyAdmin packages fix multiple vulnerabilities
Platforms Affected:
- Debian Debian Linux 3.1
- Debian Debian Linux 4.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- phpMyAdmin phpMyAdmin prior to 2.10.0
Reported:
Mar 07, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
