OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA33669] GameScript Cross-Site Scripting and SQL Injection

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Wed Jan 28 2009 - 17:47:04 CST


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

Did you know that a change in our assessment rating, exploit code
availability, or if an updated patch is released by the vendor, is
not part of this mailing-list?

Click here to learn more:
http://secunia.com/advisories/business_solutions/

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

TITLE:
GameScript Cross-Site Scripting and SQL Injection

SECUNIA ADVISORY ID:
SA33669

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

CRITICAL:
Moderately critical

IMPACT:
Cross Site Scripting, Manipulation of data

WHERE:
From remote

SOFTWARE:
GameScript 4.x
http://secunia.com/advisories/product/21151/

DESCRIPTION:
Encrypt3d.M!nd has reported some vulnerabilities in GameScript, which
can be exploited by malicious people to conduct cross-site scripting
and SQL injection attacks.

1) Input passed to the "search" parameter in games.php is not
properly sanitised before being returned to the user. This can be
exploited to execute arbitrary HTML and script code in a user's
browser session in the context of an affected site.

2) Input passed to the "user" parameter in page.php (when "page" is
set to "viewprofile") is not properly sanitised before being used in
SQL queries. This can be exploited to manipulate SQL queries by
injecting arbitrary SQL code.

These vulnerabilities are reported in version 4.6. Other versions may
also be affected.

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

PROVIDED AND/OR DISCOVERED BY:
Encrypt3d.M!nd

ORIGINAL ADVISORY:
http://milw0rm.com/exploits/7893

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

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/advisories/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/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

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