KvGuestbook 'guestbook.php' 权限提升漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1191686 漏洞类型 未知
发布时间 2007-02-14 更新时间 2007-02-14
CVE编号 CVE-2007-0926 CNNVD-ID CNNVD-200702-302
漏洞平台 N/A CVSS评分 7.5
|漏洞来源
https://www.securityfocus.com/bid/86606
https://cxsecurity.com/issue/WLB-2007020049
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200702-302
|漏洞详情
KvGuestbook1.0Beta版本的guestbook.php的dologin函数允许远程攻击者可以借助修改过的$mysql['pass']和$gbpass自变量,获得管理特权。
|漏洞EXP
Version : 1.0 Beta

Download : http://www.killervault.com

Files : guestbook.php

Error : function dologin() {
	global $mysql, $gbpass, $gburl;
	$time = time() + 86400*365;
	if($gbpass == $mysql['pass']) {
		setcookie('kvgbcookie', $mysql['pass'], $time, '/');
	}
	header("Location: $gburl");
}

$mysql, $gbpass, $gburl

Mysql & Admin Pass & Admin Name
|受影响的产品
Kvguestbook Kvguestbook 1.0 Beta
|参考资料

来源:BUGTRAQ
名称:20070211KvGuestbookRemoteAddAdminExploit
链接:http://www.securityfocus.com/archive/1/archive/1/459799/100/0/threaded
来源:OSVDB
名称:33710
链接:http://osvdb.org/33710
来源:SREASON
名称:2246
链接:http://securityreason.com/securityalert/2246