OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA30311] EntertainmentScript SQL Injection and Local File Inclusion

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Mon May 26 2008 - 18:50:05 CDT


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

Secunia Network Software Inspector 2.0 (NSI) - Public Beta

The Public Beta has ended. Thanks to all that participated.

Learn more:
http://secunia.com/network_software_inspector_2/

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

TITLE:
EntertainmentScript SQL Injection and Local File Inclusion

SECUNIA ADVISORY ID:
SA30311

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

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data, Exposure of system information, Exposure of
sensitive information

WHERE:
From remote

SOFTWARE:
EntertainmentScript 1.x
http://secunia.com/product/18785/

DESCRIPTION:
Two vulnerabilities have been reported in EntertainmentScript (ES),
which can be exploited by malicious people to conduct SQL injection
attacks and disclose sensitive information.

1) Input passed to the "id" parameter in play.php is not properly
sanitised before being used in SQL queries. This can be exploited to
manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability allows e.g. retrieving
usernames and passwords.

2) Input passed to the "page" parameter in page.php is not properly
verified before being used to include files. This can be exploited to
include arbitrary files from local resources.

The vulnerabilities are reported in version 1.4.0. Other versions may
also be affected.

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

PROVIDED AND/OR DISCOVERED BY:
1) Mr.SQL
2) Stack-Terrorist

ORIGINAL ADVISORY:
1) http://milw0rm.com/exploits/5654
2) http://milw0rm.com/exploits/5655

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

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

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