Likes Likes:  0
Resultaten 1 tot 2 van de 2
Geen
  1. #1
    sullo@cirt.net
    EasyWeb FileManager Directory Traversal
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    EasyWeb FileManager Directory Traversal

    Product:
    EasyWeb FileManager Module - http://home.postnuke.ru/index.php

    Description:
    EasyWeb FileManager Module for PostNuke is vulnerable to a directory traversal
    problem which allows retrieval of arbitrary files from the remote system.

    Systems Affected:
    EasyWeb FileManager 1.0 RC-1

    Technical Description:
    The PostNuke module works by loading a directory and/or file via the "pathext"
    (directory) and "view" (file) variables. Providing a relative path (from the
    document repository) in the "pathext" variable will cause FileManager to
    provide a directory listing of that diretory. Selecting a file in that listing,
    or putting a file name in the "view" variable, will cause EasyWeb to load the
    file specified. Only files and directories which can be read by the system user
    running PHP can be retrieved.

    Assuming PostNuke is installed at the root level:
    /etc directory listing:
    /index.php?module=ew_filemanager&type=admin&func=ma nager&pathext=../../../etc

    /etc/passwd file:
    /index.php?module=ew_filemanager&type=admin&func=ma nager&pathext=../../../etc/&view=passwd

    Fix/Workaround:
    Use another file manager module for PostNuke, as the authors do not appear to be
    maintaining EW FileManager.

    Vendor Status:
    Vendor was contacted but did not respond.

    References:
    OSVDB-8193 http://www.osvdb.org/8193
    Original Advisory http://www.cirt.net/advisories/ew_file_manager.shtml




    --

    http://www.cirt.net/ | http://www.osvdb.org/


  2. #2
    Noam Rathaus
    EasyWeb FileManager Directory Traversal
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: EasyWeb FileManager Directory Traversal

    On Saturday 24 July 2004 03:40, sullo@cirt.net wrote:
    > Product:
    > EasyWeb FileManager Module - http://home.postnuke.ru/index.php
    >
    > Description:
    > EasyWeb FileManager Module for PostNuke is vulnerable to a directory
    > traversal problem which allows retrieval of arbitrary files from the remo=

    te
    > system.
    >
    > Systems Affected:
    > EasyWeb FileManager 1.0 RC-1
    >
    > Technical Description:
    > The PostNuke module works by loading a directory and/or file via the
    > "pathext" (directory) and "view" (file) variables. Providing a relative
    > path (from the document repository) in the "pathext" variable will cause
    > FileManager to provide a directory listing of that diretory. Selecting a
    > file in that listing, or putting a file name in the "view" variable, will
    > cause EasyWeb to load the file specified. Only files and directories which
    > can be read by the system user running PHP can be retrieved.
    >
    > Assuming PostNuke is installed at the root level:
    > /etc directory listing:
    > /index.php?module=3Dew_filemanager&type=3Dadmin&fun c=3Dmanager&pathext=3D=

    =2E./../../e
    >tc
    >
    > /etc/passwd file:
    > /index.php?module=3Dew_filemanager&type=3Dadmin&fun c=3Dmanager&pathext=3D=

    =2E./../../e
    >tc/&view=3Dpasswd
    >
    > Fix/Workaround:
    > Use another file manager module for PostNuke, as the authors do not appear
    > to be maintaining EW FileManager.
    >
    > Vendor Status:
    > Vendor was contacted but did not respond.
    >
    > References:
    > OSVDB-8193 http://www.osvdb.org/8193
    > Original Advisory http://www.cirt.net/advisories/ew_file_manager.shtml
    >
    >
    >
    >
    > --
    >
    > http://www.cirt.net/ | http://www.osvdb.org/

    Hi,

    Are you certain of your findings? You are stating that anyone can access=20
    through the EW FileManager module arbitrary files (that are world-readable)=
    =E2=80=A6

    This doesn=E2=80=99t happen unless you have strictly configured your EW Fil=
    eManager to=20
    work badly, as the PHP will return NOAUTH on any unauthorized user accessin=
    g=20
    the administrator interface, and specifically manager functionality.

    The code that causes this can be found in pnadmin.php:
    function ew_filemanager_admin_manager() {
    =2E..
    =2E..

    if(!pnSecAuthAction(0, 'ew_filemanager::', '::', ACCESS_EDIT)) {
    $output->Text(_NOAUTH);
    return $output->GetOutput();
    }

    =2E..

    So you exploit won't work unless you are logged in to the EW FileManager. I=
    f=20
    this is true, then this greatly diminishes the validity of your=20
    vulnerability, as EW FileManager's purpose is:
    ( http://home.postnuke.ru/index.php?mo...iewpage&pagei=
    d=3D3 )
    Module designed to manage file and directories inside directory given by si=
    te=20
    admin.

    So allowing someone you don't trust access to this PHP causes more danger t=
    han=20
    the simple fact that he can view files... he can upload new PHPs, that then=
    =20
    can get executed, and provide a "complete" shell.

    =2D-=20
    Thanks
    Noam Rathaus
    CTO
    Beyond Security Ltd.

    Join the SecuriTeam community on Orkut:
    http://www.orkut.com/Community.aspx?cmm=3D44441

Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2026 Webhostingtalk.nl.
Web Statistics