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:

September 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close