You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark Thomas <ma...@apache.org> on 2008/06/02 23:45:53 UTC

[SECURITY] CVE-2008-1947: Tomcat host-manager XSS vulnerability

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

CVE-2008-1947: Tomcat host-manager XSS vulnerability

Severity: Low

Vendor: The Apache Software Foundation

Versions Affected:
Tomcat 5.5.9 to 5.5.26
Tomcat 6.0.0 to 6.0.16
This issue has been fixed in the source repositories for each version and
will be included in 5.5.27 and 6.0.17. It is anticipated that these
versions will be released shortly.

Description:
The user supplied hostname attribute is not filtered before being included
in the output.

Mitigation:
Do not visit untrusted sites whilst logged in to the host-manager
application and log out (close the browser) once finished with the
host-manager.

Example:
Assume that after logged in, the victim was lead to the malicious web
server with following file installed.
<form action="http://localhost:8080/host-manager/html/add" method="get">
~  <INPUT TYPE="hidden" NAME='name' VALUE="<script>alert()</script>">
~  <INPUT TYPE="hidden" NAME='aliases' VALUE="somealias">
~  <input type="submit">
</form>

Credit:
These issues were discovered by Petr Splichal of RedHat.

References:
http://tomcat.apache.org/security.html

Mark Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhEahEACgkQb7IeiTPGAkOQggCgirNfHSCkMDhcEzG6Ig1N0WzP
qesAoKXePHeBKaB0VzeBoowW5kvZpBQx
=4nQe
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [SECURITY] CVE-2008-1947: Tomcat host-manager XSS vulnerability

Posted by Mark Thomas <ma...@apache.org>.
Eric Hawkes wrote:
> Hi, 
> 
>> This issue has been fixed ... in 5.5.27 and 6.0.17. 
>> It is anticipated that these versions will be released shortly. 
> 
> It's been about six weeks.  Is there any further information 
> on when Tomcat 5.5.27 will be released?  
> 
> Thanks, 
> 
> Eric

No plans as yet. From past experience, it won't be any earlier than the 
next stable 6.0.x release.

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: [SECURITY] CVE-2008-1947: Tomcat host-manager XSS vulnerability

Posted by Eric Hawkes <eh...@sonicwall.com>.
Hi, 

> This issue has been fixed ... in 5.5.27 and 6.0.17. 
> It is anticipated that these versions will be released shortly. 

It's been about six weeks.  Is there any further information 
on when Tomcat 5.5.27 will be released?  

Thanks, 

Eric 



-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Monday, June 02, 2008 2:46 PM
To: Tomcat Users List; Tomcat Developers List;
bugtraq@securityfocus.com; full-disclosure@lists.grok.org.uk
Subject: [SECURITY] CVE-2008-1947: Tomcat host-manager XSS vulnerability


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

CVE-2008-1947: Tomcat host-manager XSS vulnerability

Severity: Low

Vendor: The Apache Software Foundation

Versions Affected:
Tomcat 5.5.9 to 5.5.26
Tomcat 6.0.0 to 6.0.16
This issue has been fixed in the source repositories for each version
and
will be included in 5.5.27 and 6.0.17. It is anticipated that these
versions will be released shortly.

Description:
The user supplied hostname attribute is not filtered before being
included
in the output.

Mitigation:
Do not visit untrusted sites whilst logged in to the host-manager
application and log out (close the browser) once finished with the
host-manager.

Example:
Assume that after logged in, the victim was lead to the malicious web
server with following file installed.
<form action="http://localhost:8080/host-manager/html/add" method="get">
~  <INPUT TYPE="hidden" NAME='name' VALUE="<script>alert()</script>">
~  <INPUT TYPE="hidden" NAME='aliases' VALUE="somealias">
~  <input type="submit">
</form>

Credit:
These issues were discovered by Petr Splichal of RedHat.

References:
http://tomcat.apache.org/security.html

Mark Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhEahEACgkQb7IeiTPGAkOQggCgirNfHSCkMDhcEzG6Ig1N0WzP
qesAoKXePHeBKaB0VzeBoowW5kvZpBQx
=4nQe
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org