OSVDB ID: 5368

Title: PostNuke index.php sif Parameter SQL Injection

Info

Disclosure

Apr 14, 2004

Discovery

Unknown

Dates

Exploit

Apr 14, 2004

Solution

Unknown

Description

PostNuke contains a flaw that will allow an attacker to inject arbitrary SQL code. The problem is that the "sif" variable in the "modules/NS-Comments/index.php" module is not verified properly and will allow an attacker to inject or manipulate SQL queries.

Classification

Location: Remote / Network Access
Attack Type: Information Disclosure, Input Manipulation
Impact: Loss of Confidentiality, Loss of Integrity
Exploit: Exploit Public
Disclosure: OSVDB Verified, Vendor Verified
OSVDB: Web Related

Solution

PostNuke has released a patch to address this vulnerability. It is also possible to correct the flaw by implementing the following workaround: Modify the source code such that the $sid and $pid variables in modules/NS-Comments/index.php line 1142 are properly verified: VALUES ($nextid, '".pnVarPrepForStore($pid)."', '".pnVarPrepForStore($sid)."', now(), '".pnVarPrepForStore($uname)."', '".pnVarPrepForStore($email)."', '".pnVarPrepForStore($url)."', '".pnVarPrepForStore($ip)."', '".pnVarPrepForStore($subject)."', '".pnVarPrepForStore($comment)."', '".pnVarPrepForStore($score)."', 0)");

Products

PostNuke

PostNuke

0.723
0.726
0.726-1

References

Credit

  • pokleyzz - pokleyzzscan-associates.net - SCAN Associates Sdn. Bhd.


Direct URL: http://osvdb.org/5368