Current location: Hot Scripts Forums » Programming Languages » PHP » security concerns new purchased script


security concerns new purchased script

Reply
  #1 (permalink)  
Old 09-13-04, 07:13 PM
Ron_Long_Beach Ron_Long_Beach is offline
New Member
 
Join Date: Sep 2004
Location: Long Beach, CA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
security concerns new purchased script

I purchased a script that I found on Hotscripts but the more I think about it the more I wonder if it is a security risk for its own program let alone my Website. It is a dating script written in php with MySql backend. The script is integrated with phpBB both use same username/password. phpBB is in a subdir under the script. My concerns are as follows:

1. The script is hardcoded to my domain. I don't have a problem with that other then the hard coding is encrypted

2. A comment in the install doc under requirements "PHP scripting on web server (global variables enabled, file uploads enabled - default on most servers)" What I have read on the threads on this forum indicate that register_globals_on is a security risk.

3. My Website is on an Apache v-server. The script is located at /public_html/script. All sub-dir and files are located there except one. It is a folder called "mem" located in public_html/mem. It is not in the script dir. The install doc says "set write permissions for the member profile shortcuts folder (default: mem/ ; used as website.com/mem/username)". I chmod at 666 and the script erred out. I went on the script forum with the problem. I never heard from the coder but hell from the other webmasters who informed me I should have chmod777 and the script will run. That is true. It will not run with chmod 666 or 766. So you endup with a unprotected folder in the root with public=read/write/execute permissions!

I have not mentioned the name of the script because I am probably being overly concerned about security. My question is should I be concerned about this script's security or should I just go back to my cut & paste as a Webmaster?

Thanks in advance for your input

Ron
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 09-22-04, 04:31 PM
suhailkaleem suhailkaleem is offline
Newbie Coder
 
Join Date: Sep 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
You can also take a look at http://friendsyoulike.com/home.asp
it is for 75 $ and built in asp.net

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 09-22-04, 04:46 PM
rjwebgraphix rjwebgraphix is offline
Newbie Coder
 
Join Date: Sep 2004
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Ron_Long_Beach
My question is should I be concerned about this script's security or should I just go back to my cut & paste as a Webmaster?

Thanks in advance for your input

Ron
I can't answer your question to the security of things, but if I were to purchase a script and they somehow encrypted it so that it would only work on one domain I would be plenty ticked.

Then again, I'm not hosting locally or have direct access to the server. I test everything locally before uploading to the server though, so I do have apache installed on my local machine and just access it from my ip addy. If I can't do this to test things out as I'm working with it, I would be through the roof. I would say that they can take thier script and shove it. But that is my opinion.

Then again, if it's advertised as commercial and not open source and you knew that ahead of time, then there is nothing to complain about. But knowing that ahead of time I wouldn't buy it.

Sorry, just my two cents,
RJ
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 09-23-04, 02:45 AM
Bobbi Bobbi is offline
Newbie Coder
 
Join Date: Sep 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
I'm not sure why register globals being ON should be a security issue (in fact, turning them off could be one if you don't know how to code your stuff) and file uploads being on is really a default config in the latest PHP versions - so 2) is no security issue with the script. Scripts being encrypted in some parts is normal these days, it's your only possibility to have a halfway decent copy protection, as scripts are really easy to modify for everyone - no reason to worry about that either.

The 777 folder, however, is in fact an issue - you should NEVER (read: NEVER, NEVER, NEVER!) have to chmod a directory to 777 to get a script to work if there's the SMALLEST hint of sensible data in there. If you're able to change the path to the /mem directory, you could try and put it below the /public_html so there is no way to access it through the web browser.

Regards,
__________________
Bobbi - Next-Gen ITsolutions
http://www.ngemu.com - http://www.ngits.de
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with my largest perl script. Grabbing data from a file. Sunnmann Perl 2 04-23-08 04:27 AM
Tournament Script bmfdx12 General Advertisements 1 08-23-04 10:46 AM
New Script bmfdx12 General Advertisements 0 08-23-04 12:07 AM
Is there any integrity of script rankings? webmaster@atmanager.com Hot Scripts Forum Questions, Suggestions and Feedback 17 08-06-04 01:12 AM
popping up the security box when accessing a php script andreas66 PHP 2 11-19-03 11:34 AM


All times are GMT -5. The time now is 12:34 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.