WordPress Wp-login.PHP HTTP响应拆分漏洞

WordPress Wp-login.PHP HTTP响应拆分漏洞

漏洞ID 1108215 漏洞类型 输入验证
发布时间 2004-10-10 更新时间 2005-10-20
图片[1]-WordPress Wp-login.PHP HTTP响应拆分漏洞-安全小百科CVE编号 CVE-2004-1584
图片[2]-WordPress Wp-login.PHP HTTP响应拆分漏洞-安全小百科CNNVD-ID CNNVD-200412-166
漏洞平台 PHP CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/570
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200412-166
|漏洞详情
WordPress1.2版本的wp-login.php存在CRLF注入漏洞。远程攻击者可以借助文本参数进行HTTP响应拆分攻击,修改服务器预定HTML内容。
|漏洞EXP
#
# This script is (C) Tenable Network Security
#
#




if(description)
{
script_id(15443);
script_bugtraq_id(11348);
script_version ("$Revision: 1.1 $");

name["english"] = "WordPress HTTP Splitting Vulnerability";

script_name(english:name["english"]);

desc["english"] = "
The remote host is running WordPress BLOG, a web blog manager written
in PHP.

The remote version of this software is vulnerable to an HTTP-splitting attack 
wherein an attacker can insert CR LF characters and then entice an unsuspecting
user into accessing the URL. The client will parse and possibly act on the 
secondary header which was supplied by the attacker.

Solution : Upgrade to the latest version of this software
Risk factor : Medium";




script_description(english:desc["english"]);

summary["english"] = "Checks for the presence of WordPress";

script_summary(english:summary["english"]);

script_category(ACT_ATTACK);


script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security",
francais:"Ce script est Copyright (C) 2004 Tenable Network Security");
family["english"] = "CGI abuses";
family["francais"] = "Abus de CGI";
script_family(english:family["english"], francais:family["francais"]);
script_dependencie("http_version.nasl");
script_require_ports("Services/www", 80);
exit(0);
}

#
# The script code starts here
#


include("http_func.inc");
include("http_keepalive.inc");

port = get_http_port(default:80);

if(!get_port_state(port))exit(0);
if(!can_host_php(port:port))exit(0);



# The actual attack requires credentials -> do a banner check
function check(loc)
{
res = http_keepalive_send_recv(port:port, data:http_get(item:loc + "/index.php", port:port));
if ( res == NULL ) exit(0);
res = str_replace(find:'n', replace:'', string:res);
res = str_replace(find:'r', replace:'', string:res);

if ( "WordPress" >< res && egrep(pattern:'<meta name="generator" content="WordPress (0\.|1\.([01]|2"))', string:res)) { security_warning(port); exit(0); }
}




foreach dir ( cgi_dirs() )
{
check(loc:dir);
}


# milw0rm.com [2004-10-10]
|参考资料

来源:BID
名称:11348
链接:http://www.securityfocus.com/bid/11348
来源:GENTOO
名称:GLSA-200410-12
链接:http://www.gentoo.org/security/en/glsa/glsa-200410-12.xml
来源:wordpress.org
链接:http://wordpress.org/development/2004/10/wp-121/
来源:SECUNIA
名称:12773
链接:http://secunia.com/advisories/12773
来源:BUGTRAQ
名称:20041006HTTPResponseSplittingVulnerabilityinWordpress1.2
链接:http://marc.theaimsgroup.com/?l=bugtraq&m;=109716327724041&w;=2
来源:XF
名称:wordpress-response-splitting(17649)
链接:http://xforce.iss.net/xforce/xfdb/17649

相关推荐: JAWS多个输入验证漏洞

JAWS多个输入验证漏洞 漏洞ID 1108026 漏洞类型 路径遍历 发布时间 2004-07-06 更新时间 2005-10-20 CVE编号 CVE-2004-2445 CNNVD-ID CNNVD-200412-322 漏洞平台 PHP CVSS评分 …

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享