Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
berlo




Joined: Apr 10, 2008
Posts: 4

PostPosted: Thu Apr 10, 2008 3:06 pm
Reply with quote

Hi,

In phpnuke v8.1 (and probably before) there are places where data is filtered in the following way:
[example taken from blocks.php under admin/modules line 153]:

Code:
$htitle = filter($row_res3['sitename'], "nohtml");


Now, this filtering is ruining my non-english data. It's turning the data to unreadable gibberish.

I managed to work aroud it by writing:
Code:
$htitle = stripslashes(check_html($row_res3['sitename'], "nohtml"));


I would like to know if it makes thing less secure.
If so, is there another workaround?

Thanks!

Berlo

N.B. Great site! Wish I'd known it before. Great theme, too!
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Thu Apr 10, 2008 3:20 pm
Reply with quote

It is possible you are opening up new holes by changing that code, but 8.1 is full of bugs and holes anyways. It would probably also be alot of tedious work to go through the entire nuke codebase to make all the changes. I would personally recommend that you drop 8.1 right away and install the latest version of RavenNuke from http://ravenphpscripts.com

RavenNuke is alot more secure and it probably won't mess up your non-english text. If you do have issues with language getting garbled in RavenNuke, there is a dedicated team (including myself Wink ) to help solve these type of problems. For phpnuke 8.1 it is one guy and good luck getting help from him. There should also be conversion scripts on the raven site to convert you from 8.1 to ravennuke.

Good Luck!
 
View user's profile Send private message Visit poster's website
berlo




Joined: Apr 10, 2008
Posts: 4

PostPosted: Thu Apr 10, 2008 4:03 pm
Reply with quote

Hi,

First of all, thank you for the very fast answer.

I know about Raven, and I was planning to ajust it too to my language, but I preferred to start with the original nuke.

I have already changed the entire code (it's not hard if you've got the right software), so that's not an issue.

I have manualy fixed the holes of 8.1 that are known a secunia, using NukeFixed and Evaders99's posts. Are there many others?

So I came here in hope to get an accurate answer, and to know how to work around a language problem and a security one as well.

As stated above, I am planning to make RavenNuke work for my language as well, in the future.

If there is a better answer, it will be appreciated.

Thanks again for this great site, and for the ultra-fast reply!

Berlo
 
View user's profile Send private message
berlo




Joined: Apr 10, 2008
Posts: 4

PostPosted: Fri Apr 11, 2008 9:49 am
Reply with quote

Thanks for all the help.
I found this:
http://phpnuke.org/modules.php?name=News&file=article&sid=7731

Maybe it will come in handy.

Thanks again,
Berlo
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Sat Apr 12, 2008 5:24 am
Reply with quote

For what it is worth there are a number of security fixes in RavenNuke which were never disclosed publicly.
Those exploits were not released because it meant more nuke sites would get hacked due to the original author not including security fixes in his releases.
As far as I am aware. phpNuke is no longer being developed by the original author and neither is the original source code from which phpNuke evolved - Thatware.

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©