Start ::
Community ::
General Chat ::
Security Advisory pnFlashGames
Moderated by: Support Team
-
- rank:
-
pnProfessional
- registered:
- September 2003
- Status:
- offline
- last visit:
- 21.10.07
- Posts:
- 2423
http://secunia.com/advisories/25043/
Quick fix: open pnuser.php find:
Cast input:
-----
http://www.invalidresponse.com -
- rank:
-
pnProfessional
- registered:
- September 2004
- Status:
- offline
- last visit:
- 09.05.08
- Posts:
- 720
Can someone explain how this is a security issue?
Does the pnVarCleanFromInput not capture SQL injection attempts, or must the developer always restrict input to specific, dedicated variables?
I notice there are several other functions in pnFlashGames that also do not include (int) in front of the cid, startnum or contid variables. Should these be adjusted as well, or was there something specific in the view function?
Thanks for any further insight.
Nolan
UHEweb
edited by: uheweb, May 01, 2007 - 12:07 PM -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 12.05.08
- Posts:
- 13326
pnVarCleanFromInput() does not catch SQL injection attempts - it simply cleans restricted tags (and extraneous quotes added through magic_quotes) from the variable. It is the responsibility of pnVarPrepForStore() to protect against SQL injection and pnVarPrepHTMLDisplay()/pnVarPrepForDisplay() to handle cross site scripting attempts.
Developers are responsible for using the correct functions and relevent typecasting to protect against malicious input.
-----
Regards,
Simon
itbegins.co.uk - PostNuke Consulting
Please read the Support Guide
Start ::
Community ::
General Chat ::
Security Advisory pnFlashGames
