Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Sql injection in PostNuke [Admin section] |
|---|---|
| Date: | Fri, 29 Sep 2006 09:43:36 +0330 |
Hi,
There is a sql injection bug in PostNuke 0.762 admin section (and maybe
before versions) .
The "hits" parameter is not checked properly before be used in sql query :
File /modules/Downloads/admin.php, Line 1586 :
:: $dbconn->Execute("INSERT INTO $downtable
:: ($column[lid],
:: $column[cid],
:: $column[sid],
:: $column[title],
:: $column[url],
:: $column[description],
:: $column[date],
:: $column[name],
:: $column[email],
:: $column[hits],
:: $column[submitter],
:: $column[downloadratingsummary],
:: $column[totalvotes],
:: $column[totalcomments],
:: $column[filesize],
:: $column[version],
:: $column[homepage])
:: VALUES
:: (" . (int)pnVarPrepForStore($newid) . ",
:: " . (int)pnVarPrepForStore($cat[0]) .",
:: " . (int)pnVarPrepForStore($cat[1]) .",
:: '" . pnVarPrepForStore($title) . "',
:: '" . pnVarPrepForStore($url) . "',
:: '" . pnVarPrepForStore($description) . "',
:: " . $dbconn->DBTimestamp(time()) . ",
:: '" . pnVarPrepForStore($name) . "',
:: '" . pnVarPrepForStore($email) . "',
** " . pnVarPrepForStore($hits) . ",
:: '" . pnVarPrepForStore($submitter) . "',
:: 0,
:: 0,
:: 0,
:: '" . pnVarPrepForStore($filesize) . "',
:: '" . pnVarPrepForStore($version) . "',
:: '" . pnVarPrepForStore($homepage) . "')");
The bug is in admin section, so it doesnt seem to be critical .
Also, "PostNuke 0.800 Milestone 2" has been released .
- Omid
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | UBB.threads Multiple input validation error, security |
|---|---|
| Next by Date: | [ MDKSA-2006:173 ] - Updated ffmpeg packages fix buffer overflow vulnerabilities, security |
| Previous by Thread: | UBB.threads Multiple input validation error, security |
| Next by Thread: | [ MDKSA-2006:173 ] - Updated ffmpeg packages fix buffer overflow vulnerabilities, security |
| Indexes: | [Date] [Thread] [Top] [All Lists] |