Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!

TUCoPS :: Web :: Apps :: unify3.htm

ServletExec 3.0c Overwrite Files



    Unify eWave ServletExec 3.0C


    Following  is  based  on  a  Foundstone FS-103100-16-SRVX Security
    Advisory  by  Shreeraj  Shah,  Saumil  Shah  and  Stuart  McClure.
    Unify's  eWave  ServletExec  is  a  JSP  and a Java Servlet engine
    which is  used as  a plug-in  to popular  web servers like Apache,
    IIS, Netscape, etc.

    ServletExec has  a servlet  called "UploadServlet"  in its  server
    side classes.  UploadServlet,  when invokable, allows an  attacker
    to upload any file to any  directory on the server.  The  uploaded
    file  may  have  code  that  can  later be executed on the server,
    leading to remote command execution.

    ServletExec has com.unify.ewave.servletexec.UploadServlet residing
    in  its  server  side  classes.   Even  though this servlet is not
    registered, it can be invoked on the server side by the  following
    HTTP requests:

        nc 80
        GET /servlet/com.unify.ewave.servletexec.UploadServlet HTTP/1.0


    An attacker can  create an HTML  form on his  or her local  system
    to use this  servlet to upload  arbitrary files on  to the server.
    A sample of such a form is given below:

        <FORM METHOD=POST ENCTYPE='multipart/form-data' ACTION=''>
        Upload Directory:
        <INPUT TYPE=TEXT SIZE=35 Name=uploadDir>
        File to Upload:
        <INPUT TYPE=FILE SIZE=35 NAME=File1>
        <INPUT TYPE=SUBMIT NAME="Upload Files" VALUE="Upload Files">

    Using  this  upload  form,  an  attacker  can  upload  a file, for
    example a JSP file, that can run arbitrary commands on the  server


    Upgrade to ServletExec version 3.0E, available at:

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2015 AOH