__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN phpMyAdmin Cross Site Scripting Vulnerabilities [phpMyAdmin Security Announcement PMASA-2005-5] November 3, 2005 19:00 GMT Number Q-040 ______________________________________________________________________________ PROBLEM: Security vulnerabilities have been addressed in phpMyAdmin, a set of PHP scripts used to administer MySQL. PLATFORM: phpMyAdmin versions 2.6.4-pl3 or newer Debian GNU/Linux 3.1 (sarge) DAMAGE: Cross site scripting vulnerabilities may allow an attacker to inject arbitrary HTML or client-side scripting. A missing safety check may allow an attacker to include an arbitrary local file. SOLUTION: Apply the available security updates. ______________________________________________________________________________ VULNERABILITY The risk is LOW. An attacker may inject arbitrary HTML or ASSESSMENT: client side scripting. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-040.shtml ORIGINAL BULLETIN: http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-5 ADDITIONAL LINK: Debian Security Advisory DSA-880 http://www.debian.org/security/2005/dsa-880 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2005-2869, CVE-2005-3300, CVE-2005-3301 ______________________________________________________________________________ [***** Start phpMyAdmin Security Announcement PMASA-2005-5 *****] phpMyAdmin security announcement PMASA-2005-5 Announcement-ID: PMASA-2005-5 Date: 2005-10-22 Updated: 2005-10-25 (reference from T.K.) Summary: (1) Local file inclusion vulnerability and (2) Cross-Site Scripting vulnerability Description: We received a security advisory from Stefan Esser (sesser@hardened-php.net) about (1). We received a security advisory from Tobias Klein (tk@trapkit.de) about (2). We wish to thank both of them for their work. (1) : Due to the sequence of execution in the code that gets form parameters in some scripts, it was possible to craft a special attack form that overwrites configuration parameters. (2) : Some scripts were vulnerable to XSS attacks: left.php, queryframe.php and server_databases.php. Severity: We consider these vulnerabilities to be serious. However, (1) can be exploited only on systems not running in PHP safe mode (unless a deliberate hole was opened by including in open_basedir some paths containing sensitive data). Affected versions: We did not make an extensive verification on this. Probably all previous versions. Solution: Upgrade to phpMyAdmin 2.6.4-pl3 or newer. References: For (1): http://www.hardened-php.net/advisory_162005.73.html For (2): http://www.trapkit.de/advisories/TKADV2005-10-001.txt For further information and in case of questions, please contact the phpMyAdmin team. Our website is http://www.phpmyadmin.net/. [***** End phpMyAdmin Security Announcement PMASA-2005-5 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of phpMyAdmin Project for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) Q-030: Multiple Problems in Ethereal Versions 0.7.7 to 0.10.12 Q-031: Eric Q-032: Sudo Q-033: Libgda2 Q-034: Red Hat Kernel Security Update Q-035: PAM Security Update Q-036: Solaris Management Console Enables TRACE HTTP by Default Q-037: Apple OS X 10.4.3 Security Update Q-038: Cisco IOS Heap-based Overflow Vulnerability in System Timers Q-039: libcurl Vulnerability