Secunia Logo
 
pMachine "pm_path" File Inclusion Vulnerability
Secunia Advisory: SA9045
Release Date: 2003-06-16
Last Update: 2005-11-17
Popularity: 7,658 views

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Partial Fix

Software:pMachine 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2003-1086
CVE-2005-0513


Description:
A vulnerability has been reported in pMachine, which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the "pm_path" parameter isn't properly verified in "/pm/lib.inc.php", before it is used to include files. This can be exploited to include arbitrary files from external and local resources.

Examples:
http://[victim]/pm/lib.inc.php?pm_path=[file]
http://[victim]/pm/add_ons/mail_this_entry/mail_autocheck.php?pm_path=[file]

Solution:
The fix provided in version 2.3 is inadequate as it is still possible to include local files by defining the "pm_path" and "sfx" parameters via e.g. a cookie when "register_globals" is enabled. This has been confirmed in version 2.4.1. Other versions may also be affected.

Update to version 2.3, and set "register_globals" to "Off" or edit the source code to ensure that input is properly verified.

Provided and/or discovered by:
Originally reported by:
Frog Man

Additional information provided by:
kcope

Changelog:
2005-02-21: Added further information provided by kcope.
2005-02-22: Updated advisory.
2005-02-25: Added CVE references.
2005-11-17: Updated "Solution" section.


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 73 views
2. Linksys WRT160N Cross-Site Scripting Vulnerability // 31 views
3. ClamAV "cli_check_jpeg_exploit()" Denial of Service Vulnerability // 31 views
4. Adobe Acrobat/Reader Multiple Vulnerabilities // 31 views
5. IBM Rational ClearQuest Multiple Vulnerabilities // 28 views
6. Debian update for flamethrower // 27 views
7. Rumpus Multiple Vulnerabilities // 23 views
8. bcoos "cid" SQL Injection Vulnerability // 23 views
9. IBM Rational ClearCase Cross-Site Scripting Vulnerability // 23 views
10. DAHDI "ZT_SPANCONFIG" IOCTL Privilege Escalation Vulnerability // 23 views