Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
December 23, 2014
 Members List
 IRC chat
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 Sql Char Encoder
 y3dips ITsec
 Md5 Cracker
 User Manuals
 Recommend Us
 Your Account

User Info
Welcome, Anonymous

Latest: Prospero22
New Today: 0
New Yesterday: 0
Overall: 8961

People Online:
Visitors: 139
Members: 0
Total: 139
·#1337day Soitec SmartEnergy 1.4 SCADA Login SQL Injection Authentication Bypass Exploit [#0day #Exploit]
·#1337day JourneyMap 5.0.0RC2 Ultimate Edition - DoS [dos #exploits #0day #Exploit]
·#1337day ManageEngine Desktop Central MSP Remote Code Execution Vulnerability [remote #exploits #Vulnerability #0day #Exploit]
·#1337day Tuleap PHP Unserialize Code Execution Exploit CVE-2014-8791 [webapps #exploits #0day #Exploit]
·#1337day phpTrafficA 2.3 SQL Injection Vulnerability CVE-2014-8340 [webapps #exploits #Vulnerability #0day #Exploit]
·#1337day Apache CloudStack 4.3 / 4.4 Unauthenticated LDAP Binds Vulnerability [remote #exploits #Vulnerability #0day #Exploit]
·#1337day PBBoard CMS - Stored XSS Vulnerability [webapps #exploits #Vulnerability #0day #Exploit]
·#1337day OpenEMR 4.1.2(7) - Multiple SQL Injection Vulnerabilities [webapps #exploits #Vulnerabilities #0day #Exploit]
·#1337day Humhub 0.10.0-rc.1 - XSS / SQL Injection vulnerabilities [webapps #exploits #0day #Exploit]
·#1337day VFU 4.10-1.1 - Buffer Overflow Exploit [remote #exploits #0day #Exploit]

PacketStorm News
·RSA Authentication Manager 8.0 / 8.1 Unvalidated Redirect
·RSA Archer GRC Platform 5.x Cross Site Scripting
·EMC Isilon InsightIQ Cross Site Scripting
·Docker Privilege Escalation / Path Traversal / Spoofing
·HP Security Bulletin HPSBUX03162 SSRT101767 3
·Debian Security Advisory 3099-1
·Advertisement: SolarWinds Log & Event Manager
·Red Hat Security Advisory 2014-1985-01
·Red Hat Security Advisory 2014-1984-01
·Gentoo Linux Security Advisory 201412-11

[waraxe-2004-SA#028] - Multiple vulnerabilities in NukeJokes module for PhpNuke

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

Affected software description:

From readme file:

"Nuke jokes is an addon for PHPNuke. It has been tested with PHPNuke 6.0. It should
work with 6.5 and some lower versions but I haven't been able to test it. Nuke Jokes
allows you to have a database of jokes on your website. Jokes are sperated into different
categories to make them easier to find. It includes the ability to rate jokes, shows
how many views they've had and other information. Also includes a search engine. The
admin area allows you to add, edit and delete jokes and categories, install and uninstall
the database and validate user added jokes."

Author: Adam Webb



I have tested two different versions of NukeJokes: v1.7 and 2 Beta. They seems to have same
security bugs.


Well, what to say? I was really surprised, when saw NukeJokes source code - almost ALL
sql queries are WITHOUT ANY single quotes...
Wide area to practice sql injection attacks. And most user submitted parameters are not
sanitized at all, so full path disclosure and XSS cases exists there too. In fact, NukeJokes
has so many bugs, that i'm too lazy to count them all. So i will just bring some examples...

A. Full path disclosure:





B. Cross-site scripting aka XSS:


http://localhost/nuke72/modules.php?name=NukeJokes&func=CatView&cat=[xss code here]

http://localhost/nuke72/modules.php?name=NukeJokes&func=JokeView&jokeid=[xss code here]

C. Sql injection:

Example exploiting GET request:


and we can see superadmin's username and password's md5 hash with ease. Of course, mysql
has to be 4.x with UNION functionality enabled, to successful exploiting.

Ending words to author(s) - NukeJokes is based on good ideas, but must be rewritten in secure
way! This is not such big work - just add those single quotes to any sql queries and do sanitize
variables, passed to script by client browser, to avoid cross-site scripting and path disclosure
bugs. If you want some advise from me, you can always send an email and i will help.


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


Janek Vind "waraxe"

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

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

Copyright © by Waraxe IT Security Portal All Right Reserved.

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

[ Go Back ]
Top members by posts
waraxe  waraxe - 2407
vince213333  vince213333 - 736
pexli  pexli - 665
Mullog  Mullog - 539
demon  demon - 485
shai-tan  shai-tan - 477
Cyko  Cyko - 375
tsabitah  tsabitah - 328
y3dips  y3dips - 281
·Vuln: D-Link DCS-2103 CVE-2014-9238 Directory Traversal Vulnerability
·Vuln: Graphviz 'agerr()' Function Remote Format String Vulnerability
·Vuln: Ruby CVE-2014-8080 XML External Entity Denial of Service Vulnerability
·Vuln: Ruby Floating Point Parsing Heap Buffer Overflow Vulnerability
·Bugtraq: CVE-2014-2026 Reflected Cross-Site Scripting (XSS) in "Intrexx Professional"
·Bugtraq: CVE-2014-2025 Remote Code Execution (RCE) in "Intrexx Professional"
·Bugtraq: [ MDVSA-2014:251 ] rpm
·Bugtraq: [ MDVSA-2014:250 ] cpio
·More rss feeds from SecurityFocus


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-2013 Janek Vind "waraxe"
Page Generation: 0.045 Seconds