OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA32982] Gravity GTD File Inclusion and PHP Code Injection

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Fri Dec 05 2008 - 17:40: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:
Gravity GTD File Inclusion and PHP Code Injection

SECUNIA ADVISORY ID:
SA32982

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

CRITICAL:
Highly critical

IMPACT:
Exposure of sensitive information, System access

WHERE:
From remote

SOFTWARE:
Gravity GTD 0.x
http://secunia.com/advisories/product/20668/

DESCRIPTION:
dun has discovered some vulnerabilities in Gravity GTD, which can be
exploited by malicious people to disclose sensitive information and
compromise a vulnerable system.

1) Input passed to the "objectname" parameter in
library/setup/rpc.php is not properly verified before being used to
include files. This can be exploited to include files from local
resources.

2) Input passed to the "objectname" parameter in
library/setup/rpc.php is not properly sanitised before being used in
an "eval()" call. This can be exploited to inject and execute
arbitrary PHP code.

The vulnerabilities are confirmed in version 0.4.5. 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:
dun

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

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

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

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