Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
May 25, 2012
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: jimysakura
New Today: 0
New Yesterday: 3
Overall: 8201

People Online:
Visitors: 246
Members: 1
Total: 247

Online Now:
01: risker - Forums
milw0rm
·[webapps / 0day] - appRain CMF Arbitrary PHP File Upload Vulnerability
·[local exploits] - OpenOffice OLE Importer DocumentSummaryInformatio n Stream Handling
·[local exploits] - Mod_Auth_OpenID Session Stealing Vulnerability
·[dos / poc] - Symantec End Point Protection 11.x & Symantec Network Access Control 11.x LCE
·[dos / poc] - Tftpd32 DHCP Serve 4.00 Denial Of Service
·[webapps / 0day] - Ajaxmint Gallery 1.0 Local File Inclusion
·[webapps / 0day] - RuubikCMS 1.1.0 Beta XSS / Disclosure / Directory Traversal
·[webapps / 0day] - Insight Creative Sql injection/Reflected XSS Vulnerabilties
·[webapps / 0day] - AFFY (index.php) Blind Sql Injection Vulnerability
·[webapps / 0day] - ezContents (1.x.x , 2.0.3) Blind injection/Reflected XSS Vulnerabilties

read more...
PacketStorm News
·Mandriva Linux Security Advisory 2012-080
·Red Hat Security Advisory 2012-0688-01
·Debian Security Advisory 2479-1
·Debian Security Advisory 2478-1
·Ubuntu Security Notice USN-1450-1
·Drupal BrowserID 7.x Cross Site Request Forgery
·Drupal Taxonomy List 6.x Cross Site Scripting
·Drupal Search API 7.x Cross Site Scripting
·Secunia Security Advisory 49200
·Secunia Security Advisory 49235

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

www.waraxe.us Forum Index -> How to fix -> SA#018 Fix?
Post new topic  Reply to topic View previous topic :: View next topic 
SA#018 Fix?
PostPosted: Fri Jun 25, 2004 2:23 am Reply with quote
sarah
Regular user
Regular user
 
Joined: Jun 25, 2004
Posts: 5




Hello,

I run nuke 7.2 and am having issues with someone who keeps creating a God account on our site and deleting my posts.

My issues is SA#018 with teh SQL admin injection..

Code:
admin.php?op=AddAuthor&add_aid=waraxe2&add_name=God&add_pwd=coolpass&add_email=foo@bar.com&add_radminsuper=1&admin=eCcgVU5JT04gU0VMRUNUIDEvKjox


Is there anyway I can patch this. I checked through your site but didn't find anything for 7.2. Or should I upgrade to 7.3?

Thanks so much, your website is a GREAT resource!!!!

Sarah
View user's profile Send private message
PostPosted: Fri Jun 25, 2004 9:17 am Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2399
Location: Estonia, Tartu




#18 is related to sql injection through base64 encoded admin parameters.
And i myself are using patch like this.
First, open mainfile.php and find this piece of code:

Code:

if (!ini_get("register_globals")) {
    import_request_variables('GPC');
}


Add filtering code, so result will be as:

Code:

if (!ini_get("register_globals")) {
    import_request_variables('GPC');
}

//############################################################
//-- Base64 sanitize by Waraxe -------------------------------
if(isset($admin))
{
   $admin = base64_decode($admin);
   $admin = addslashes($admin);
   $admin = base64_encode($admin);
}

if(isset($user))
{
   $user = base64_decode($user);
   $user = addslashes($user);
   $user = base64_encode($user);
}
//############################################################



After this code addition all the base64-based sql injection exploits will stop working.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Fri Jun 25, 2004 12:50 pm Reply with quote
sarah
Regular user
Regular user
 
Joined: Jun 25, 2004
Posts: 5




Hey it worked!! Thank you SOOO MUCH! I'm going to donate some $$ when I get paid next week.

So what else should I worry about patching on 7.2? Any other exploits in any other module?
View user's profile Send private message
PostPosted: Fri Jun 25, 2004 2:07 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2399
Location: Estonia, Tartu




Thanks for donation!

About phpnuke 7.2...
Do you use out-of-the-box version directly from phpnuke.org?
Then it is filled with various security holes. First thing you must do, is to install all the patches from nukecops or nukefixes. Then, install some
protector system - for example Sentinel. And finally - visit my website and forum to find out newest patching tutorials Wink

If you have any specific questions, go ahead, i will try to help.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Mon Jun 28, 2004 12:35 pm Reply with quote
sarah
Regular user
Regular user
 
Joined: Jun 25, 2004
Posts: 5




yes, using out of the box 7.2. i cant find any specific patches from nuke cops but i'm assuming there are specific issues in which you're referring to..

so any girlfriend? Wink
View user's profile Send private message
SA#018 Fix?
  www.waraxe.us Forum Index -> How to fix
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






Nvidia GeForce Reviews
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-2010 Janek Vind "waraxe"

Page Generation: 0.083 Seconds