AKB Forums

Go Back   AKB Forums > Technical sections > Software Security
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Software Security Discussing software security algorithms, tricks, vulnerabilities

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Feb 5, 2002, 04:47   #1
Консервативный Демагог
 
VX's Avatar
 
Join Date: Jan 2002
Location: Кавказская Албания
Posts: 889
Rep Power: 7
Reputation: 10
Post Security Hole in phpMyChat 0.14.5

Ok, Tak kak v armenii pocti na kajdom "servere" shaz etot chat stoit rehsil poiskat' tam dirocki. <img src="smooch-1.gif" border="0"> )

Poka zametil odnu, no dumuu eshe naidutsa <img src="wink-5.gif" border="0">

tak rassmatrivaem:
Posmotrim html source input frame-a ...
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
<td bgcolor="#000000"> < a href="#" on
click="window.parent.ChangeColor('#000000','C1'); return false;">
<img src="images/selColor.gif" alt="#000000" name="C1" border="0" width="2" height="20" /></a></td>
</pre><hr></blockquote>

ne vdavayas' v podrobnosti skaju s funciya ChangeColor(ColorVal,ColorRank)
menyaet peremmenuu C v inpute , i sottvetstenno php poje predstavlyet eto peremennu kak $C,

Pishem cto nibud' v inpute i posilaem v chat:
nash message pechataetsa v chate sledushim obrazom
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
<P CLASS="msg">
<SPAN CLASS="time">00:32:04</SPAN> <B>[
<A HREF="#" on Click="window.parent.userClick('as',true); return false" CLASS="sender">as</A>]<BDO dir="LTR"></BDO></B> <FONT COLOR="#000000">Hi There</FONT></P>
</pre><hr></blockquote>
aha, #000000 eto nash cvetik-semicvetik :

teper' rassmotrim opyat' taki iz inputa action : ACTION="handle_inputH.php3"
otkrivaem handle_inputH.php3 i.. vualya
na storockaz 208-215 napisaano
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
if (isset($C) and $C != "")
{
// Red colors are reserved to the admin or a moderator for the current room

if ((ereg('#(FF0000|fc403f|fc4b34|fa582a|f66421|f2711 9|ec7e11|ec117f|f21971|f62164|fa2a58|fc344b)', $C))
&& !($status == "a" || $status == "m"))

$C = "#000000";
$M = "<FONT COLOR=\"".$C."\">".$M."</FONT>";
};

</pre><hr></blockquote>

vot tot malen'ki if eto i est' vsya proverka cveta (navernoe avtori chata ne znali cto chat popodet v Aremeniu <img src="smooch-1.gif" border="0">
$M eto uje sformirovavshisya message <img src="smooch-1.gif" border="0"> , kotory budet pokazen na ekrane <img src="smooch-1.gif" border="0">
vse BUG naiden

posle etogo berem nash input , menyaem v nem koe cto (esli ya skaju cto konkretno eto uje budet ne chesno), ctob on mog post delat' message nezavisimo ot frameseta , i dobalyaem v color peremnuu cto nibud' simpaticnoe tipa:

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
<INPUT TYPE="hidden" NAME="C" VALUE="#2164f6">
<INPUT TYPE="hidden" NAME="C" VALUE='#2164f6"><FONT SIZE=+3>'>
</pre><hr></blockquote>

..Solution:: vse lish odin malusin'ki regexp <img src="smooch-1.gif" border="0">

I'm waiting for Youre replyes
__________________
Праздник к нам приходит...

|^^^^^^^^^'''^\| ||\__
| ВОДКА-ВОДКА | ||','''|'''''''\_____,_
| _..... _ | ||_ _|'__|_____||.........| |
'(@)'(@)'(@)''''''''''''''''''''''*|(@)""""|(@)*
VX is offline   Reply With Quote Quote selected
Old Feb 5, 2002, 16:38   #2
Moderator
 
Mono's Avatar
 
Join Date: Oct 2001
Location: Yerevan
Posts: 5,407
Blog Entries: 1
Rep Power: 8
Reputation: 102
Post

Lyudi ne lomayte igrushki rebyatishek. <img src="sad-2.gif" border="0">
__________________
---------------
Արատտայի ու Խալդեյի հովանավոր .
Mono is offline   Reply With Quote Quote selected
Old Feb 5, 2002, 17:59   #3
старожил
 
aramx's Avatar
 
Join Date: Jan 2002
Location: Ереван, РА
Posts: 9,843
Rep Power: 8
Reputation: 62
Post

TO WAIT FOR SOMETHING ARa!!!!Qani angam ASEM>>>
to wait FORRRRRRRRRRRRRRRRRRR
<img src="smooch-1.gif" border="0"> <img src="smooch-1.gif" border="0"> <img src="smooch-1.gif" border="0">
__________________
Our Generation has had no Great War, no Great Depression.
Our war is spiritual.
Our depression is our lives. ©

aramx is offline   Reply With Quote Quote selected
Old Feb 5, 2002, 18:45   #4
Консервативный Демагог
 
VX's Avatar
 
Join Date: Jan 2002
Location: Кавказская Албания
Posts: 889
Rep Power: 7
Reputation: 10
Post

Mono jan mi ne Lomaem, mi pokazivaet uyazvimost'

BTW rebyat chuvstvuete cto forum toje gluchit <img src="smooch-1.gif" border="0"> )
__________________
Праздник к нам приходит...

|^^^^^^^^^'''^\| ||\__
| ВОДКА-ВОДКА | ||','''|'''''''\_____,_
| _..... _ | ||_ _|'__|_____||.........| |
'(@)'(@)'(@)''''''''''''''''''''''*|(@)""""|(@)*
VX is offline   Reply With Quote Quote selected
Old Feb 5, 2002, 22:43   #5
Moderator
 
Mono's Avatar
 
Join Date: Oct 2001
Location: Yerevan
Posts: 5,407
Blog Entries: 1
Rep Power: 8
Reputation: 102
Post

VX djan ya shuchu <img src="smooch-1.gif" border="0"> <img src="smooch-1.gif" border="0">

Igrushki nado inogda lomat, chtobi deti povzrasleli <img src="smooch-1.gif" border="0">

Kstati ya tolko shto posmotrel v BugTraq-e, tam nichevo netu pro etu Dirku. Tak chto ti mojesh spokoyno poslat eto v Bugtraq <img src="smooch-1.gif" border="0">
__________________
---------------
Արատտայի ու Խալդեյի հովանավոր .
Mono is offline   Reply With Quote Quote selected
Old Feb 5, 2002, 22:53   #6
»
 
z0mbie's Avatar
 
Join Date: Jan 2002
Posts: 776
Rep Power: 7
Reputation: 10
Send a message via ICQ to z0mbie
Post

:] ta zhe d?rka v ralfchate, posledniy god u menya Inet v osnovnom iz etoy d?rki :]
z0mbie is offline   Reply With Quote Quote selected
Old Feb 5, 2002, 22:55   #7
Moderator
 
Mono's Avatar
 
Join Date: Oct 2001
Location: Yerevan
Posts: 5,407
Blog Entries: 1
Rep Power: 8
Reputation: 102
Post

Kstati ed metodov kareli e Hashed Passworde imanal u urishi anvan tak banner ugharkel. <img src="smooch-1.gif" border="0">
__________________
---------------
Արատտայի ու Խալդեյի հովանավոր .
Mono is offline   Reply With Quote Quote selected
Old Feb 5, 2002, 23:07   #8
Консервативный Демагог
 
VX's Avatar
 
Join Date: Jan 2002
Location: Кавказская Албания
Posts: 889
Rep Power: 7
Reputation: 10
Post

haseh parol@ tishtes asumu Mono, Uxaki ed haseh paolov maximum userin logout anes <img src="wink-5.gif" border="0"> ))), kam ia nunic gres, vor@ aydkan el hetakrkir chi
2 Zombie.
hehhe , miolodec, nu lusdhe sotri etot topic, a to nkotorix moix odnakursnikov iz-za etogo v podval KGB otpravili <img src="smooch-1.gif" border="0"> <img src="graemlins/nod.gif" border="0" alt="[Agree]" />
__________________
Праздник к нам приходит...

|^^^^^^^^^'''^\| ||\__
| ВОДКА-ВОДКА | ||','''|'''''''\_____,_
| _..... _ | ||_ _|'__|_____||.........| |
'(@)'(@)'(@)''''''''''''''''''''''*|(@)""""|(@)*
VX is offline   Reply With Quote Quote selected
Old Feb 5, 2002, 23:08   #9
»
 
z0mbie's Avatar
 
Join Date: Jan 2002
Posts: 776
Rep Power: 7
Reputation: 10
Send a message via ICQ to z0mbie
Post

menak uxarkel@ chi, karelia privatner@ kardal }:]
z0mbie is offline   Reply With Quote Quote selected
Old Feb 5, 2002, 23:15   #10
Консервативный Демагог
 
VX's Avatar
 
Join Date: Jan 2002
Location: Кавказская Албания
Posts: 889
Rep Power: 7
Reputation: 10
Post

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr>Originally posted by z0mbie:
menak uxarkel@ chi, karelia privatner@ kardal }:]<hr></blockquote>
figney ne stradau
__________________
Праздник к нам приходит...

|^^^^^^^^^'''^\| ||\__
| ВОДКА-ВОДКА | ||','''|'''''''\_____,_
| _..... _ | ||_ _|'__|_____||.........| |
'(@)'(@)'(@)''''''''''''''''''''''*|(@)""""|(@)*
VX is offline   Reply With Quote Quote selected
Old Feb 5, 2002, 23:27   #11
Moderator
 
Mono's Avatar
 
Join Date: Oct 2001
Location: Yerevan
Posts: 5,407
Blog Entries: 1
Rep Power: 8
Reputation: 102
Post

Zombie kartzum em erexeki hamar sa hetakrkir klini

http://freenet.am/~zombie/ii.html

Bayc Zombie du tip es <img src="smooch-1.gif" border="0"> ~!!!


Mta vor Javascripte kardam, aytnegh myayn Chinaren er gratz <img src="sad-2.gif" border="0">
__________________
---------------
Արատտայի ու Խալդեյի հովանավոր .
Mono is offline   Reply With Quote Quote selected
Old Feb 6, 2002, 03:12   #12
»
 
z0mbie's Avatar
 
Join Date: Jan 2002
Posts: 776
Rep Power: 7
Reputation: 10
Send a message via ICQ to z0mbie
Post

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr>Originally posted by VX:

figney ne stradau
<hr></blockquote>

a prichem tut fignya ? t? zhe sam skazal- "mi pokazivaet uyazvimost'" :]
z0mbie is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 14:11.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link