__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Apache Tomcat Vulnerability [Security-4] July 25, 2007 19:00 GMT Number R-312 ______________________________________________________________________________ PROBLEM: The example SendMailServlet page that comes with Apache Tomcat is vulnerable to cross-site scripting via the "From" field. PLATFORM: Apache Tomcat 4.0.0 to 4.0.6 4.1.0 to 4.1.36 DAMAGE: A remote attacker may be able to execute arbitrary script within the security context of the web site running Apache Tomcat. SOLUTION: There is no know solution. Please see the bulletin for recommendations. ______________________________________________________________________________ VULNERABILITY The risk is LOW. A remote attacker may be able to execute ASSESSMENT: arbitrary script within the security context of the web site running Apache Tomcat. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/r-312.shtml ORIGINAL BULLETIN: http://tomcat.apache.org/security-4.html ADDITIONAL LINK: US-CERT CERT Advisory CAA-2000-02 http://www.cert.org/advisories/CA-2000-02.html CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2007-3383 ______________________________________________________________________________ [***** Start Security-4 *****] low: Cross-site scripting CVE-2007-3383 When reporting error messages, the SendMailServlet (part of the examples web application) did not escape user provided data before including it in the output. This enabled a XSS attack. This Servlet now filters the data before use. This issue may be mitigated by undeploying the examples web application. Note that it is recommended that the examples web application is not installed on a production system. Affects: 4.0.0-4.0.6, 4.1.0-4.1.36 [***** End Security-4 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Apache 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) R-302: Security Vulnerability inJava Web Start URL Parsing Code R-303: VideoLan Vulnerability R-304: Java Runtime Environment Vulnerability R-305: Tomcat Security Update R-306: Trilliam Instant Messenger Client Vulnerability R-307: Apple QuickTime 7.2 R-308: Oracle Critical Patch Update - July 2007 R-309: Mozilla Products Security Update R-310: Gimp Security Vulnerabilities R-311: FreeType Vulnerability