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

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   Форумы (https://forum.antichat.xyz/forumdisplay.php?f=16)
-   -   XSS usercp_register.php phpBB 2.0.13 и более ранние версии (https://forum.antichat.xyz/showthread.php?t=5652)

XJIOP 25.03.2005 18:52

XSS usercp_register.php phpBB 2.0.13 и более ранние версии
 
кто нибудь пробывал ломать с помощью этого бага?
я чета разобратся немогу с английским плохо.
если кому не лень перевидите описание данного бага плиз.

---------------------------------------------------------
The bad code is in the usercp_register.php file. The next part of the code is the vulnerable:

$allowhtml = ( isset($HTTP_POST_VARS['allowhtml']) ) ? ( ($HTTP_POST_VARS['allowhtml']) ? TRUE : 0 ) : $board_config['allow_html'];
$allowbbcode = ( isset($HTTP_POST_VARS['allowbbcode']) ) ? ( ($HTTP_POST_VARS['allowbbcode']) ? TRUE : 0 ) : $board_config['allow_bbcode'];
$allowsmilies = ( isset($HTTP_POST_VARS['allowsmilies']) ) ? ( ($HTTP_POST_VARS['allowsmilies']) ? TRUE : 0 ) : $board_config['allow_smilies'];

If we specify a variable in the html code (any type: hidden, text, radio, check, etc) with the name allowhtml, allowbbcode or
allowsmilies, is going to be on the html, bbcode and smilies in our signature. But this only works for private messages.

In the topics our signature is going to be filtered, but no in the private messages.

- Exploit
---------------------------------------------------------
1 - Copy the html code of the registration page of the vulnerable forum.

2 - Change the form action to the path of the forum and profile.php. Example: http://phpbb.com/phpBB2/profile.php

3 - Add the variable for to enable the bbode, htmlcode or smilies (if they're not) in your private messages. Example:





4 - With your html registration page (modified) you have to register any user with some html code in the signature for test
this bug.

CunningFox 25.03.2005 19:48

Цитата:

Сообщение от XJIOP
1 - Copy the html code of the registration page of the vulnerable forum.

2 - Change the form action to the path of the forum and profile.php. Example: http://phpbb.com/phpBB2/profile.php

3 - Add the variable for to enable the bbode, htmlcode or smilies (if they're not) in your private messages. Example:

4 - With your html registration page (modified) you have to register any user with some html code in the signature for test
this bug.

1 - Скопируйте html код регистрационной страницы дрявого форума.

2 - Поменяйте форму действия по пути форума и profile.php. Пример: http://phpbb.com/phpBB2/profile.php

3 - Добавте дыру для не дрявых bbode (тут наверно должно быть bbcode), htmlcode или смайлов (если они ещё не дрявые) в ваших приватных сообщениях. Пример: (на скока я понял, он отсутствует).

4 - С вашей отредактированной регистрационной html страницей вы можете регистрировать любых юзеров с любым html кодом в подписе для тестирования этой баги.


криво, но cойдёт.. жаль что в третьем премера нет..

coyl 25.03.2005 21:17

да все итак понятно.
нужно чтобы форма передавала еще и переменные, которые разрешают хтмл.

XJIOP 25.03.2005 21:25

спасибо за перевод, будем пробывать :)

rsha1988 25.03.2005 23:02

Блин, да скока можно, у меня форум на phpbb (((
Устал ужелатать....(((

rsha1988 25.03.2005 23:07

А где ты этот сплоит нашол?

Jonathan Allen 26.03.2005 00:14

Не знаю где он нашел а вот я... http://forums.dathorn.com/showthread...=8555#post8555

Люди. это что означает, что версия форума 2.10.13 тоже ломается? :confused:

rsha1988 26.03.2005 00:55

Да, тоже ломаеться мля(((

Jonathan Allen 26.03.2005 01:08

Во первых чего ты грустишь?? ;) :) :p

Тут радоваться надо.


================ Может кто-то видео сбацает? :)


===========

А ты знаешь как полмать? )) :eek:

<her0> 31.03.2005 11:14

Разъясните плиз,что делать с 2.0.13 версией? Неужели можно будет сплоитом в будующем тоже поломать))

CunningFox 01.04.2005 10:49

мля.. кто нибуть переведите нормально и напишите статью или видео!

Diman777 09.04.2005 13:46

Может кто-нить видео снимет.

OLIVER 11.04.2005 19:35

Опишите подробней !!!
:(

petrovich-lamer 15.04.2005 01:22

хачу подробнее!!!

XJIOP 16.04.2005 17:46

и я хочу :)


Время: 14:26