Tomcat SendMailServlet sendmail.jsp mailfrom Parameter XSS

This script is Copyright (C) 2007-2012 Tenable Network Security, Inc.


Synopsis :

The remote web server contains a JSP application that is affected by a
cross-site scripting vulnerability.

Description :

The remote web server includes an example JSP application that fails
to sanitize user-supplied input before using it to generate dynamic
content in the 'examples/SendMailServlet' servlet. An unauthenticated
remote attacker may be able to leverage this issue to inject arbitrary
HTML or script code into a user's browser to be executed within the
security context of the affected site.

See also :

http://archives.neohapsis.com/archives/fulldisclosure/2007-07/0448.html

Solution :

Undeploy the Tomcat examples web application.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)
CVSS Temporal Score : 3.6
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: CGI abuses : XSS

Nessus Plugin ID: 25995 ()

Bugtraq ID: 24999

CVE ID: CVE-2007-3383