作者:中联绿盟 汉化:不详 整理:jsper
受影响的系统:
bea systems weblogic 4.5.1
- microsoft windows nt 4.0
bea systems weblogic 4.0.4
- microsoft windows nt 4.0
bea systems weblogic 3.1.8
- microsoft windows nt 4.0
ibm websphere application server 3.0.21
- sun solaris 8.0
- microsoft windows nt 4.0
- linux kernel 2.3.x
- ibm aix 4.3
unify ewave servletexec 3.0
- sun solaris 8.0
- microsoft windows 98
- microsoft windows nt 4.0
- microsoft windows nt 2000
- linux kernel 2.3.x
- ibm aix 4.3.2
- hp hp-ux 11.4
描述:
--------------------------------------------------------------------------------
很多webserver对大小写是敏感的,但对后缀的大小写映射并没有做正确的处理。只要在url中将jsp或者jhtml文件后缀从小写变成大写,web服务器就不能正确处理这个文件后缀,而将其做为纯文本显示,攻击者可能得到这些程序的源代码。
<* 来源: stuart.mcclure@foundstone.com *>
--------------------------------------------------------------------------------
建议:
unify ewave servletexec:
unify说缺省安装的servlet不会泄漏源代码
bea systems weblogic:
临时解决办法:
对所有的可能的大小写后缀增加handler处理:
.jsp 文件:
.jsp .jsp .jsp .jsp .jsp .jsp .jsp .jsp
.jhtml 文件:
.jhtml .jhtml .jhtml .jhtml .jhtml .jhtml .jhtml .jhtml
.jhtml .jhtml .jhtml .jhtml .jhtml .jhtml .jhtml .jhtml
.jhtml .jhtml .jhtml .jhtml .jhtml .jhtml .jhtml .jhtml
.jhtml .jhtml .jhtml .jhtml .jhtml .jhtml .jhtml
厂商已经提供一个针对3.1.8版本的补丁,可以在下列地址下载:
ftp://ftpna.beasys.com/pub/releases/318/casesensitiventfix318.zip
ibm websphere application server:
ibm已经提供了相应的补丁程序,地址在:
http://www-4.ibm.com/software/webservers/appserv/efix.html
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器