Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Register Globals Risk - Turn Off Register Globals

  1. #1

    Join Date
    May 2005
    Posts
    29

    Default Register Globals Risk - Turn Off Register Globals

    Hello,

    anyone have see this turkish hack? any idea what is it?

    aedating 3.3

    Smoge: Code removed - we try not to publish code like this. If you need to report such code - please send me (Smoge) a PM.
    Last edited by Smoge; 09-20-2006 at 12:27 AM.

  2. #2
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Do you have register_globals on?

    Also - why is your inc directory not .htaccess protected?

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  3. #3

    Join Date
    May 2005
    Posts
    29

    Default hello smoge

    Hello Smoge,

    how can u check if register_globals is on?

    with php.info maybe ? and if it's on should I turn it off?

    I just check it out, yes directory, is protected by htacess that says " DirectoryIndex index.html"
    at that time. How to do one ?

    Marc
    Last edited by marcus; 09-18-2006 at 01:13 PM.

  4. #4
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    See this post.

    http://www.modmysite.com/showthread....3551#post13551

    for info on how to check for, and disable, register_globals.

    Smoge
    Last edited by Smoge; 09-18-2006 at 01:26 PM.
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  5. #5
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Quote Originally Posted by marcus
    I just check it out, yes directory, is protected by htacess that says " DirectoryIndex index.html"
    at that time. How to do one ?
    This is not protected. This just says that your index is index.html... no protection there.

    You need to add:

    Code:
    Deny from all
    to the .htaccess in your /inc folder
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  6. #6

    Join Date
    May 2005
    Posts
    29

    Default

    did you try that on your site?

    Smoge: Code removed - we try not to publish code like this. If you need to report such code - please send me (Smoge) a PM.

    I tried that on fewsites on aewebworks porfolio, it shows the image.... weird... I don't know if it's a hack or not...
    Last edited by Smoge; 10-04-2006 at 08:14 PM.

  7. #7

    Join Date
    May 2005
    Posts
    29

    Default smoge, if i set "deny for all"

    smoge, if I set htacess "deny for all" how I will get myself in the inc folder?

  8. #8
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Why would you need to go into the /inc folder.... they are all include files in a normal aedating / dolphin installation.

    Quote Originally Posted by marcus
    smoge, if I set htacess "deny for all" how I will get myself in the inc folder?
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  9. #9

    Join Date
    May 2005
    Posts
    29

    Default some guys from TurKish IP are trying to find a hole in ae script

    very easy, I have ae site too and today when I checked on my lacess logs I founded that someone from Turkish IP was trying SQL injection to my site.

    That guy is a hacker and seems to know very well ae dating folders names and files. I guess that he's trying many sites around to see if he can find a weakness in ae script to get inside.

    I made "Deny from all" but it doesnt change anything I can still see the folder. I mean I'm dont have "access denied" like it should be.

    any ideas?

    Thanks

    Marc
    Last edited by Smoge; 10-04-2006 at 08:13 PM.

  10. #10
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Hi,
    did i try what? Not comprehending what you are or just did?
    What he is saying is... is a URL with [dir]inc = a hack...

    Register_globals allows a user of your site to replace varibles in your scripts with something else... including a file on another server.

    Using this - they can write to files on your server - and mess with your site.

    If Marcus ran the same code on some of the sites in aeDating's Portfolio ( http://www.aewebworks.com/portfolio.htm ) - then those sites have register_globals set to ON.

    This is nothing new. This problem with register globals applies to many many many php scripts, not just aedating / dolphin.

    Its nothing to get nervous and jerky over - just turn them off!

    However, some scripts REQUIRE them on - if you turn them off - check your other scripts on your server for correct operation.

    Smoge
    Last edited by Smoge; 10-04-2006 at 08:13 PM.
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. cant register to expertzzz.com
    By almazlamaz in forum General Issues, Comments, Questions
    Replies: 1
    Last Post: 02-25-2008, 12:17 PM
  2. Not Register Error
    By kylerichards in forum Bugs Dolphin 6.03
    Replies: 5
    Last Post: 01-16-2008, 02:39 AM
  3. register re-direct
    By webbuddy in forum General Troubleshooting
    Replies: 4
    Last Post: 04-24-2007, 06:30 AM
  4. Register Globals Discussion
    By birkenstam in forum Security / Server Administration
    Replies: 28
    Last Post: 12-03-2006, 09:35 PM
  5. How To Turn Off Register Globals
    By Smoge in forum Security / Server Administration
    Replies: 2
    Last Post: 10-03-2006, 09:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •