Register | Forget Password | Login
Search :
SecurityReason

News

Search

SecurityAlert

About SecurityAlert

ExploitAlert

SecurityReason Research

WLB

WLB Database

Send to WLB

About WLB

RSS

News

SecurityAlert

World Laboratory of Bugtraq

ExploitAlert

Apache

PHP

Corporate

Contact

About us

Services

SecurePHP

Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Details : SecurityAlert

  Topic : Apache Tomcat XSS vulnerability
  SecurityAlert : 4098
  CVE : CVE-2008-1232
  CWE : CWE-79
  SecurityRisk : Low  alert  (About)
  Remote Exploit : Yes
  Local Exploit : No
  Victim interaction required : Yes
  Exploit Given : Yes
  Credit : Konstantin Kolinko
  Published : 04.08.2008

  Affected Software : Apache Software Foundation, Tomcat, 4.1
Apache Software Foundation, Tomcat, 4.1.0
Apache Software Foundation, Tomcat, 4.1.1
Apache Software Foundation, Tomcat, 4.1.10
Apache Software Foundation, Tomcat, 4.1.12
Apache Software Foundation, Tomcat, 4.1.15
Apache Software Foundation, Tomcat, 4.1.2
Apache Software Foundation, Tomcat, 4.1.24
Apache Software Foundation, Tomcat, 4.1.28
Apache Software Foundation, Tomcat, 4.1.3
Apache Software Foundation, Tomcat, 4.1.31
Apache Software Foundation, Tomcat, 4.1.32
Apache Software Foundation, Tomcat, 4.1.34
Apache Software Foundation, Tomcat, 4.1.36
Apache Software Foundation, Tomcat, 4.1.37
Apache Software Foundation, Tomcat, 5.5.0
Apache Software Foundation, Tomcat, 5.5.1
Apache Software Foundation, Tomcat, 5.5.10
Apache Software Foundation, Tomcat, 5.5.11
Apache Software Foundation, Tomcat, 5.5.12
Apache Software Foundation, Tomcat, 5.5.13
Apache Software Foundation, Tomcat, 5.5.14
Apache Software Foundation, Tomcat, 5.5.15
Apache Software Foundation, Tomcat, 5.5.16
Apache Software Foundation, Tomcat, 5.5.17
Apache Software Foundation, Tomcat, 5.5.18
Apache Software Foundation, Tomcat, 5.5.19
Apache Software Foundation, Tomcat, 5.5.2
Apache Software Foundation, Tomcat, 5.5.20
Apache Software Foundation, Tomcat, 5.5.21
Apache Software Foundation, Tomcat, 5.5.22
Apache Software Foundation, Tomcat, 5.5.23
Apache Software Foundation, Tomcat, 5.5.24
Apache Software Foundation, Tomcat, 5.5.25
Apache Software Foundation, Tomcat, 6.0
Apache Software Foundation, Tomcat, 6.0.0
Apache Software Foundation, Tomcat, 6.0.1
Apache Software Foundation, Tomcat, 6.0.10
Apache Software Foundation, Tomcat, 6.0.11
Apache Software Foundation, Tomcat, 6.0.12
Apache Software Foundation, Tomcat, 6.0.13
Apache Software Foundation, Tomcat, 6.0.14
Apache Software Foundation, Tomcat, 6.0.15
Apache Software Foundation, Tomcat, 5.5.26
Apache Software Foundation, Tomcat, 6.0.16



  Advisory Text :  

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

CVE-2008-1232: Apache Tomcat XSS vulnerability

Severity: Low

Vendor:
The Apache Software Foundation

Versions Affected:
Tomcat 4.1.0 to 4.1.37
Tomcat 5.5.0 to 5.5.26
Tomcat 6.0.0 to 6.0.16
The unsupported Tomcat 3.x, 4.0.x and 5.0.x versions may be also affected

Description:
The message argument of HttpServletResponse.sendError() call is not only
displayed on the error page, but is also used for the reason-phrase of
HTTP
response. This may include characters that are illegal in HTTP headers. It
is possible for a specially crafted message to result in arbitrary content
being injected into the HTTP response. For a successful XSS attack,
unfiltered user supplied data must be included in the message argument.

Mitigation:
6.0.x users should upgrade to 6.0.18
5.5.x users should obtain the latest source from svn or apply this patch
which will be included from 5.5.27
http://svn.apache.org/viewvc?rev=680947&view=rev

4.1.x users should obtain the latest source from svn or apply this patch
which will be included from 4.1.38
http://svn.apache.org/viewvc?rev=680947&view=rev (connector only)
http://svn.apache.org/viewvc?rev=680948&view=rev

Example:
<%@page contentType="text/html"%>
<%
~ // some unicode characters, that result in CRLF being printed
~ final String CRLF = "\u010D\u010A";

~ final String payload = CRLF + CRLF + "<script
type=&#39;text/javascript&#39;>document.write(&#39;Hi,
there!&#39;)</script><div
style=&#39;display:none&#39;>";
~ final String message = "Authorization is required to access " +
payload;
~ response.sendError(403, message);
%>

Credit:
This issue was discovered by Konstantin Kolinko.

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

iEYEARECAAYFAkiTGFsACgkQb7IeiTPGAkNG6ACfY+P91mt1/h06Q8c5foCJldFp
9B8An2OvenCD+3nWbLazp6Th+lxWgL7f
=lTUT
-----END PGP SIGNATURE-----



  References :

http://www.securityfocus.com/bid/30496
http://www.securityfocus.com/archive/1/archive/1/495021/100/0/threaded
http://tomcat.apache.org/security-6.html
http://tomcat.apache.org/security-5.html
http://tomcat.apache.org/security-4.html



  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

*BSD libc (strfmon) Multiple vulnerabilities

high- 2008-03-25

Maksymilian Arciemowicz discovered a Integer Overflow vulnerability in the libc library "strfmon()" function.A vulnerability could allow an attacker who successfully exploits this vulnerability to take control of the affected *BSD systems.

Apache rss

» Apache Tomcat information
   disclosure

» Apache Tomcat <=
   6.0.18 UTF8 Directory
   Traversal Vulnerability

» Apache Tomcat information
   disclosure vulnerability

» Apache Tomcat XSS
   vulnerability

PHP rss

» PHP 5.2.6 chdir(),ftok()
   (standard ext) safe_mode
   bypass

» PHP 5.2.6 posix_access()
   (posix ext) safe_mode
   bypass

» PHP 5.2.5 and prior :
   *printf() functions
   Integer Overflow

» PHP 5.2.5 cURL safe_mode
   bypass

Copyright © SecurityReason. All Rights Reserved.