Ravens PHP Scripts

PHP::HTML *htmlclass_path* File Inclusion
Date: Friday, June 15, 2007 @ 18:38:54 PDT
Topic: Security


SECUNIA ADVISORY ID: SA25687

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

CRITICAL: Highly critical

IMPACT: Exposure of system information, Exposure of sensitive information, System access

WHERE: >From remote

REVISION: 1.1 originally posted 2007-06-15

SOFTWARE: PHP::HTML 0.x - http://secunia.com/product/14534/

DESCRIPTION: o0xxdark0o has discovered a vulnerability in PHP::HTML, which can be exploited by malicious people to disclose sensitive information or to compromise a vulnerable system.



Input passed to the "htmlclass_path" parameter in phphtml.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local or external resources. Successful exploitation requires that "register_globals" is enabled. The vulnerability is confirmed in version 0.6.4. Other versions may also be affected.

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

PROVIDED AND/OR DISCOVERED BY: o0xxdark0o

CHANGELOG: 2007-06-15: Added CVE reference.

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






This article comes from Ravens PHP Scripts
http://www.ravenphpscripts.com

The URL for this story is:
http://www.ravenphpscripts.com/modules.php?name=News&file=article&sid=2967