Author |
Message |
oprime2001
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/43a7f019412dfe33e57fd.jpg)
Joined: Jun 04, 2004
Posts: 119
Location: Chicago IL USA
|
Posted:
Thu Nov 18, 2004 12:59 pm |
|
Read on http://nukecops.com/postt37511.html
From security notice on http://www.zone-h.org/en/advisories/read/id=6310/
Note: edited to remove exploit examples.
Quote: | Vulnerabilities:
~~~~~~~~~~~~
This piece of sowtware has many security related flaws due to poor user-submitted data
handling.
A1 - full path disclosure in "config.php":
A2, A3 - full path disclosure in "index.php" and "submit.php":
B - XSS aka cross site scripting:
C - script injection in calendar event comments:
D - critical sql injection bugs in code:
|
Developer reply posted on http://phpnuke.holbrookau.net/
Quote: | NOTICE
Due to numerous security issues found recently, the PHP-Nuke Event Calendar module formally found on this site is no longer available.
Sorry, but as I don't have the time nor expertise to try and patch up the code, I suggest to those using it to delete it from their sites and seek a more secure and up-to-date alternative.
- Holbrookau |
Anyone have suggestions / alternatives for more secure calendar module/add-on? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Nov 18, 2004 1:07 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Thu Nov 18, 2004 10:43 pm |
|
Sure would like to find a good alternative or fix the current module. I have been toying in my mind for a few days now on how to expand the module to include features such as re-occurrence. However, if it is insecure to begin with, is there an alternative?
If no alternative, can someone with more experience in patching nuke modules (CS?), comment on my assumptions / questions regarding each vulnerability type? If I can at least make my attempt at it, would someone be willing to look it over to see if I, in my newbie-dome, has missed something?
Here goes the assumptions / questions:
Regarding the following:
Quote: |
A1 - full path disclosure in "config.php":
|
Is this vulnerability solved by reviewing each included component and ensuring that it cannot be accessed directly using the standard code similar to the following?
Code:
if (eregi("header.php", $_SERVER['SCRIPT_NAME'])) {
Header("Location: index.php");
die();
}
|
Regarding the following:
Quote: |
A2, A3 - full path disclosure in "index.php" and "submit.php":
B - XSS aka cross site scripting:
|
I am not clear as to what I should be looking for. Can someone give the general concept of how it is a problem? Not even sure what cross site scripting is. Does Sentinel block this?
Regarding the following:
Quote: |
C - script injection in calendar event comments:
D - critical sql injection bugs in code:
|
Sentinel caught the UNION injection. Does anyone know if it would catch all of what waraxe discribes? If not, can someone just give me a high-level understanding of what he is meaning by the double-quote issue? At least point in the right direction so I can look up the relevant PHP concepts.
Much abliged. I am just not ready to give up on this module just yet...
montego |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
oprime2001
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Nov 19, 2004 10:49 pm |
|
I haven't tried it myself, but I am in the process of migrating my EventCalendar to Only registered users can see links on this board! Get registered or login! from Only registered users can see links on this board! Get registered or login!.
From the copyright.php:
Quote: | based on EventCalendar 2.0
Copyright (c) 2001 Originally by Rob Sutton |
It seems these two calendar modules have similar roots. And to save you the half-hour it took me to figure out how to get the hometext column in nuke_events from Only registered users can see links on this board! Get registered or login! to text, it's just a matter of changing the column type from BLOB to text within phpmyadmin. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
Site Admin
![](modules/Forums/images/avatars/41f0b40a419280935f3a0.gif)
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Fri Nov 19, 2004 11:14 pm |
|
I like Only registered users can see links on this board! Get registered or login!. It's different from EventCalendar (which I used previously) and Kalendar in that it handles recurring events. I haven't checked its security, but it does not use any BLOB fields and, also unlike EventCalendar and Kalendar, was based on an early version of Only registered users can see links on this board! Get registered or login!, instead of Rob Sutton's Event Calendar, which might make it more difficult to convert.
montego, regarding full path disclosure, I believe this shouldn't be problem if you have the php.ini display_errors setting set to false.
I believe NukeSentinel will cover everything else as long as EventCalendar uses standard phpNuke methods (i.e. via mainfile.php) for accessing data, but I'd gladly defer that to one of the developers. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Nov 20, 2004 7:36 am |
|
Does anyone have an idea if NuCalendar is secure? I have looked into WebCalendar on SourceForge and the standalone product looks incredible! I would love to Nuke-it if I had the skillsets (which I don't). I has great *groupware* features too that would work very nice for a community site.
Does anyone know if it has been ported more recently to any of the nuke variants?
montego |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Nov 20, 2004 7:41 am |
|
P.S. Is there a support site/community for NuCalendar? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Nov 20, 2004 8:49 am |
|
Sorry! The official site for NuCalendar is Only registered users can see links on this board! Get registered or login!. It does have support forums, too. The site shows a beta version of NuCalendar .7 (the current download version is .61). I've found some tweaks to NuCalendar by others around the world, but haven't had the chance to look at them yet.
I'm thinking of nuking WebCalendar - it does have some really nice features. Unfortunately, I don't think it's been ported more recently (and NuCalendar is not really that current).
I've been evaluating calendar functions, and I found another powerful php-based calendar called Only registered users can see links on this board! Get registered or login!, whose support site runs on Xoops and plans include a Nuke (php, Post, and / or Xoops) version (although comments on the WebCalendar support forums discuss a Nuke version, too). Calogic has a registration function, but it's really weak on that end. Both WebCalendar and Calogic have mini-calendars that could probably be made into blocks pretty easily.
But since I already use NuCalendar on a couple of sites, I'll probably check that for security before working on a nuke version of another event calendar. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|