SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
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

Home arrow SecurityAlert Database

Arrow  Topic :

Apache Tomcat RequestDispatcher directory traversal vulnerability


Arrow  SecurityAlert : 5911
Arrow  CVE : CVE-2008-5515
Arrow  CWE : CWE-22
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : No
Arrow  Exploit Available : No
Arrow  Credit : Iida Minehiko and Fujitsu Limited
Arrow  Published : 18.06.2009

Arrow  Affected Software : apache:tomcat:4.1.0
apache:tomcat:4.1.1
apache:tomcat:4.1.10
apache:tomcat:4.1.11
apache:tomcat:4.1.12
apache:tomcat:4.1.13
apache:tomcat:4.1.14
apache:tomcat:4.1.15
apache:tomcat:4.1.16
apache:tomcat:4.1.17
apache:tomcat:4.1.18
apache:tomcat:4.1.19
apache:tomcat:4.1.2
apache:tomcat:4.1.20
apache:tomcat:4.1.21
apache:tomcat:4.1.22
apache:tomcat:4.1.23
apache:tomcat:4.1.24
apache:tomcat:4.1.25
apache:tomcat:4.1.26
apache:tomcat:4.1.27
apache:tomcat:4.1.28
apache:tomcat:4.1.29
apache:tomcat:4.1.3
apache:tomcat:4.1.30
apache:tomcat:4.1.31
apache:tomcat:4.1.32
apache:tomcat:4.1.33
apache:tomcat:4.1.34
apache:tomcat:4.1.35
apache:tomcat:4.1.36
apache:tomcat:4.1.37
apache:tomcat:4.1.38
apache:tomcat:4.1.39
apache:tomcat:5.5.0
apache:tomcat:5.5.1
apache:tomcat:5.5.10
apache:tomcat:5.5.11
apache:tomcat:5.5.12
apache:tomcat:5.5.13
apache:tomcat:5.5.14
apache:tomcat:5.5.15
apache:tomcat:5.5.16
apache:tomcat:5.5.17
apache:tomcat:5.5.18
apache:tomcat:5.5.19
apache:tomcat:5.5.2
apache:tomcat:5.5.20
apache:tomcat:5.5.21
apache:tomcat:5.5.22
apache:tomcat:5.5.23
apache:tomcat:5.5.24
apache:tomcat:5.5.25
apache:tomcat:5.5.26
apache:tomcat:5.5.27
apache:tomcat:5.5.3
apache:tomcat:5.5.4
apache:tomcat:5.5.5
apache:tomcat:5.5.6
apache:tomcat:5.5.7
apache:tomcat:5.5.8
apache:tomcat:5.5.9
apache:tomcat:6.0
apache:tomcat:6.0.0
apache:tomcat:6.0.1
apache:tomcat:6.0.10
apache:tomcat:6.0.12
apache:tomcat:6.0.13
apache:tomcat:6.0.14
apache:tomcat:6.0.15
apache:tomcat:6.0.16
apache:tomcat:6.0.17
apache:tomcat:6.0.18
apache:tomcat:6.0.2
apache:tomcat:6.0.3
apache:tomcat:6.0.4
apache:tomcat:6.0.5
apache:tomcat:6.0.6
apache:tomcat:6.0.7
apache:tomcat:6.0.9



Arrow  Advisory Content :  

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

CVE-2008-5515: Apache Tomcat information disclosure vulnerability

Severity: Important

Vendor:
The Apache Software Foundation

Versions Affected:
Tomcat 4.1.0 to 4.1.39
Tomcat 5.5.0 to 5.5.27
Tomcat 6.0.0 to 6.0.18
The unsupported Tomcat 3.x, 4.0.x and 5.0.x versions may be also affected

Description:
When using a RequestDispatcher obtained from the Request, the target
path was normalised before the query string was removed. A request that
included a specially crafted request parameter could be used to access
content that would otherwise be protected by a security constraint or by
locating it in under the WEB-INF directory.

Mitigation:
6.0.x users should upgrade to 6.0.20 or apply this patch:
http://svn.apache.org/viewvc?view=rev&revision=734734
5.5.x users should upgrade to 5.5.28 when released or apply this patch:
http://svn.apache.org/viewvc?view=rev&revision=782757
4.1.x users should upgrade to 4.1.40 when released or apply this patch:
http://svn.apache.org/viewvc?view=rev&revision=782763

Example:
For a page that contains:
<%
request.getRequestDispatcher( "bar.jsp?somepar=someval&par=" +
request.getParameter( "blah" ) ).forward( request, response );
%>

an attacker can use:
http://host/page.jsp?blah=/../WEB-INF/web.xml

Credit:
This issue was discovered by Iida Minehiko, Fujitsu Limited

References:
http://tomcat.apache.org/security.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkotiBQACgkQb7IeiTPGAkMi6QCgnlzEt/7byUJo2YXGHMLj2ckH
rF8AoK8dmpZcxd5pV9VvEaPqm4xhXJPO
=bDV5
-----END PGP SIGNATURE-----



Arrow  References :

http://www.vupen.com/english/advisories/2009/1520
http://www.securityfocus.com/bid/35263
http://www.securityfocus.com/archive/1/archive/1/504202/100/0/threaded
http://www.securityfocus.com/archive/1/archive/1/504170/100/0/threaded
http://tomcat.apache.org/security-6.html
http://tomcat.apache.org/security-5.html
http://tomcat.apache.org/security-4.html
http://jvn.jp/en/jp/JVN63832775/index.html




Arrow  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

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.