OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA17304] Nuked-Klan Script Insertion and SQL Injection Vulnerabilities

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Tue Oct 25 2005 - 10:22:43 CDT


TITLE:
Nuked-Klan Script Insertion and SQL Injection Vulnerabilities

SECUNIA ADVISORY ID:
SA17304

VERIFY ADVISORY:
http://secunia.com/advisories/17304/

CRITICAL:
Moderately critical

IMPACT:
Cross Site Scripting, Manipulation of data

WHERE:
From remote

SOFTWARE:
Nuked-Klan 1.x
http://secunia.com/product/1015/

DESCRIPTION:
papipsycho has reported some vulnerabilities in Nuked-Klan, which can
be exploited by malicious people to conduct script insertion and SQL
injection attacks.

1) Certain input passed in the "Search", "Guestbook", "Forum", and
"Textbox" modules isn't properly sanitised before being used. This
can be exploited to inject arbitrary HTML and script code, which will
be executed in a user's browser session in context of an affected site
when the malicious user data is viewed.

2) Input passed to the "forum_id", "thread_id", "link_id", "artid",
and "dl_id" parameters isn't properly sanitised before being used in
a SQL query. This can be exploited to manipulate SQL queries by
injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

The vulnerabilities have been reported in version 1.7. Prior versions
may also be affected.

SOLUTION:
Apply patch.
http://nk.gamez.solexine.fr/index.php?file=Download&op=description&dl_id=288

NOTE:
The patch does not properly fix the SQL injection vulnerabilities.

Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY:
papipsycho

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------