Krooze arcade

e107 CMS » Forums » e107 Code » Plugin / Code Developer Discussion << Previous thread | Next thread >>
Go to page  1 2
bigbadwolf
Feb 02 2012, 08:45AM
Registered Member #21221
Joined: Sep 27 2005, 07:48AM
Location: Long Island NY
Posts: 368
I tried contacting Bordeded (who by the way was doing some custom work for me long ago) and while he read his PM several days ago he has not responded. Therefore I am helping myself to posting this here.

A lot of people like Krooze but it has some serious security flaws which make it vulnerable to injections. One of my best friends is a PHP guru and he has looked at it for me. I am sharing his findings here in case anyone can see anything he missed.

He has agreed to work on tightening it up over the next several days.

WARNING: He is a PERFECTIONIST and goes to extreme measures sometimes. Many might say he is going overboard but that is him... he does it his way or no way at all.

Yeah, this arcade thing is a real mess. Here are the issues:

....

It won't let me post it here because he is showing examples of the bad PHP code. :-/
Go to top
Website
bigbadwolf
Feb 02 2012, 08:52AM
Registered Member #21221
Joined: Sep 27 2005, 07:48AM
Location: Long Island NY
Posts: 368
Ok here it is in another form. Thanks to septor as I remember he used Paste2 on another link.

[-link-]
Go to top
Website
septor
Feb 02 2012, 01:40PM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #37
Joined: Aug 11 2002, 03:20AM
Location: United States
Posts: 2687
Part of the problem with that plugin is data being sent into the database is not sanitized..

You need to process integers with intval() and everything else with $tp->toDB().

He brings up valid points, but they aren't the underlining problem.
Go to top
Website
bigbadwolf
Feb 06 2012, 08:24PM
Registered Member #21221
Joined: Sep 27 2005, 07:48AM
Location: Long Island NY
Posts: 368
As my final throw here, my PHP Dev has proven how weak the existing Krooze arcade is. He managed this in all of 5 minutes.

Go to top
Website
NFM
Feb 20 2012, 05:58PM
Registered Member #38450
Joined: Jul 20 2007, 02:19PM
Posts: 17
Any word on how it's going so far?
Go to top
bigbadwolf
Feb 21 2012, 05:07AM
Registered Member #21221
Joined: Sep 27 2005, 07:48AM
Location: Long Island NY
Posts: 368
The friend who is working on it says he has started testing it but fell "ill." Perhaps it is more like "I really have better things to do with my life right now" but since he is doing it for free I don't push too hard.

I want this too so will poke him about it from time to time.
Go to top
Website
bigbadwolf
Feb 24 2012, 12:20PM
Registered Member #21221
Joined: Sep 27 2005, 07:48AM
Location: Long Island NY
Posts: 368
Ok, we have a new play.php. My friend describes his mods as such; "It is properly escaping the $_GET and $_POST super globals being passed to SQL queries."

You can download it from here: [-link-]

BACKUP play.php then unzip in the existing krooze folder.

I make no guarantees about the security of the rest of the plugin but if he says this will help, I imagine it will.
[ Edited Feb 24 2012, 01:41PM ]
Go to top
Website
septor
Feb 25 2012, 03:52PM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #37
Joined: Aug 11 2002, 03:20AM
Location: United States
Posts: 2687
The other files have been fixed. You can get them here.

If you have trouble extracting -- stop using WinRAR, get 7-Zip.
Go to top
Website
bigbadwolf
Mar 01 2012, 05:23AM
Registered Member #21221
Joined: Sep 27 2005, 07:48AM
Location: Long Island NY
Posts: 368
Wow so many people wanted to use this and now that it's been made secure, where's the appreciation for Septors efforts?
Go to top
Website
septor
Mar 01 2012, 07:02AM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #37
Joined: Aug 11 2002, 03:20AM
Location: United States
Posts: 2687
This be a thankless job, bro. It's all good. I have a list of names of the people who request things that I make/fix that don't thank me. When I die I'll be sure to haunt them all.
Go to top
Website
Moc
Mar 07 2012, 05:20AM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #44563
Joined: Apr 12 2008, 03:01AM
Location: The Netherlands
Posts: 3612
Thanks septor
Go to top
chowdahead
Mar 07 2012, 07:27AM
Registered Member #45828
Joined: Jun 19 2008, 06:22AM
Location: Boston, MA
Posts: 114
Thank You septor
Go to top
outlaw16151
May 21 2012, 09:10AM
Registered Member #61697
Joined: May 29 2011, 07:29PM
Posts: 44
ok mr septor where do i install this? in plugin? where?
Go to top
Moc
May 21 2012, 09:15AM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #44563
Joined: Apr 12 2008, 03:01AM
Location: The Netherlands
Posts: 3612
The download septor gave above just contains the fixed files. You'll need to download the full plugin and install it like any other plugin.
Go to top
outlaw16151
May 22 2012, 07:30AM
Registered Member #61697
Joined: May 29 2011, 07:29PM
Posts: 44
ok Moc.... heres a question... can we add game to this?
Go to top
Moc
May 22 2012, 07:59AM
  • e107 Site administrator
  • e107 Security Team
  • e107 Support Team
  • e107 Documentation Team
Registered Member #44563
Joined: Apr 12 2008, 03:01AM
Location: The Netherlands
Posts: 3612
You can, but you need to download/buy them from a third party. The kroozearcade plugin is just a framework that allows games to be added and played Google is your best friend in finding the third parties.
Go to top
cyberken
May 28 2012, 04:01PM
Registered Member #35594
Joined: Apr 24 2007, 03:03PM
Location: Edinburgh
Posts: 68
Firstly massive respect and appreciation to Septor for fixing this
If there is enough demand for games, then id be happy to offer them as download ( I have loads).
It will take a bit of time to get them uploaded tho
Go to top
cyberken
May 29 2012, 12:17AM
Registered Member #35594
Joined: Apr 24 2007, 03:03PM
Location: Edinburgh
Posts: 68
I wonder if anyone can help me with some issues

I have updated the plugin with the new files. The main arcade page is not showing on the site - Just a blank page where it should be: [-link-]

In the admin area the arcade menu pulls the theme from the site and not the one I have set for the admin theme. The admin navigation menus are all listed as ADLAN_52, ADLAN_53 ect. and lastly (not sure if this is because of security) there isnt an option any more for installing games when uploaded via FTP - everything has now to be done manually.

The other plugins I have installed are:
Ban Helper, Chat Box, Feature Box, Forum, Integrity Check, New Forum Posts, Newsletter, PHP FreeChat and Private Messenger.

Any help would be most grateful
Thanks
Go to top
outlaw16151
May 29 2012, 11:57AM
Registered Member #61697
Joined: May 29 2011, 07:29PM
Posts: 44
Moc wrote ...

You can, but you need to download/buy them from a third party. The kroozearcade plugin is just a framework that allows games to be added and played Google is your best friend in finding the third parties.


i have the games, i was only asking if you can add newer games to it,,, yes google is my friend for all my searches
Go to top
M@CH!N3
May 30 2012, 05:13AM
Registered Member #55442
Joined: Apr 01 2010, 09:13PM
Location: USA
Posts: 139
cyberken wrote ...

I wonder if anyone can help me with some issues

I have updated the plugin with the new files. The main arcade page is not showing on the site - Just a blank page where it should be: [-link-]

In the admin area the arcade menu pulls the theme from the site and not the one I have set for the admin theme. The admin navigation menus are all listed as ADLAN_52, ADLAN_53 ect. and lastly (not sure if this is because of security) there isnt an option any more for installing games when uploaded via FTP - everything has now to be done manually.

The other plugins I have installed are:
Ban Helper, Chat Box, Feature Box, Forum, Integrity Check, New Forum Posts, Newsletter, PHP FreeChat and Private Messenger.

Any help would be most grateful
Thanks



I have same issue, I just use the old file for admin area since admins only one can access it, no need to really worry about security on admin pages since i am the only admin to acces them

but for the arcade main page i also get blank page.
Go to top
Website
Go to page  1 2  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System