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

igallery33.txt

igallery33.txt
Posted Jun 23, 2005
Authored by Seyed Hamid Kashfi | Site hat-squad.com

i-Gallery versions 3.3 and below suffer from a directory traversal vulnerability and cross site scripting flaws.

tags | exploit, xss
SHA-256 | 31d1e15301887894e15c7a8e6e7210321b31f0eddfd31c726c9acd647671cb60

igallery33.txt

Change Mirror Download
Hat-Squad Advisory: i-Gallery directory traversal

Product: i-Gallery
Vendor Url: http://www.b-cp.com
Version: 3.3 (older versions not tested , but assumed vulnerable)
Vulnerability: Directory traversal and CSS bug
Release Date:

Vendor Status:
Informed: 15 June 2005
Second Contact: 19 June 2005
Advisory Released: 20 June 2005

Overview:

i-Gallery is a complete online photo gallery. Easy to navigate
thumbnails with paging.
Enlarged views offer print & email buttons. Secured backend features:
create/delete folders,
upload/delete images, add descriptions, move images, and much more...

########################################################################

Problem 1:

The i-Gallery uses no protection to avoid the directory traversal bug.
The problem happens when the attacker uses the classic pattern "/../"
that
allows him to see and download any file in the remote system knowing the
path.By use of preview feature of the i-Gallery it`s possible to get
list
of directory files ( not folders ) and attempt to download them .so not
like most of directory traversal attacks , due to the nature of i-
gallery
you only need to be aware of correct directory path . file name will be
handleded by i-gallery in a nice interface :>

Attack is possible on almost all asp files to get files , but my favor
browse interface is the "folderview.asp" file .

Google Scanner :

inurl:"/gallery/folderview.asp?folder="


sample exploit :

http://<host>/gallery/folderview.asp?
folder=Sport+Champions/../../../../../../../../winnt/repair

you`ll probebly go for "SAM" but I should notice you a little challenge
while downloading files without
extencions AND the permision staff ;)

########################################################################

Problem 2:

i-Gallery lack of input validation for any user request . as a resault
attacks
like cross-site scripting become possible , and steal stored cookies of
secured
interface of i-Gallery become possible to name one example.


Sample Exploit:

http://<host>/gallery/folderview.asp?folder=<script>alert
(document.cookie)</script>

########################################################################


Workaround :

Apply vendor patch.
( No responce from vendor up to now )

Credits:


This Vulnerability has been discovered by Seyed Hamid Kashfi(hamid@hat-
squad.com)



Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    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