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

galleryFlaws.txt

galleryFlaws.txt
Posted Dec 2, 2005
Authored by Bharat Mediratta

Gallery versions below 2.0.2 are susceptible to cross site scripting, arbitrary file viewing, and more.

tags | advisory, arbitrary, xss
SHA-256 | 2c5393607259ccfb2aa2a700aa8d219403e22be70086c84c95060151911f5edb

galleryFlaws.txt

Change Mirror Download

Gallery is an open source web based photo album organizer. The
2.x is a newly released complete rewrite of the application.

Url: http://gallery.menalto.com
Contact: gallery@menalto.com

An internal security audit turned up 3 separate vulnerabilities. These
are all resolved in Gallery 2.0.2, released on 11/28/2005 and available
here:

http://codex.gallery2.org/index.php/Gallery2:Download

Vulnerabilities:

1. The installer records information in an install log that is stored
in the gallery data directory. An attacker can discover the location of
this directory and read this file to discover information about the
Gallery installation. The Gallery installer recommends that you put the
gallery data directory outside of your webserver's document root, and
allows you to name this directory anything that you choose, however if
the user may choose to put it in an obvious place. Site administrators
can delete this file by hand to disarm the flaw.

2. The "Add Image From Web" feature is vulnerable to executing
javascript embedded inside <img> tags on the target page and can be
exploited via XSS that way. This requires the attacker to trick the a
Gallery user into loading images from that page.

3. The zipcart module, if installed and activated can be used to view
any files on the webserver that are visible to the webserver user.
Gallery is delivered in 4 flavors (minimal, typical, full, developer).
The zipcart module is not included in the minimal or typical packages.
It is also not installed by default. It must be manually selected for
install and activation by the Gallery site administrator. Site
administrators can deactivate this module to disarm the flaw.

Vulnerable:
Gallery 2.0.1 (all flaws)
Gallery 2.0 (all flaws)
Gallery 2.0 RC 2 (all flaws)
Gallery 2.0 RC 1 (all flaws)
Gallery 2.0 Beta 3 (xss and zipcart flaws only)
Gallery 2.0 Beta 2 (xss and zipcart flaws only)
Gallery 2.0 Beta 1 (xss and zipcart flaws only)
Gallery 2.0 Alpha 4 (xss and zipcart flaws only)
Gallery 2.0 Alpha 3 (xss and zipcart flaws only)
Gallery 2.0 Alpha 2 (xss flaw only)
Gallery 2.0 Alpha 1 (xss flaw only)
CVS HEAD before 2005-11-26

Not Vulnerable:
Gallery 1 (all versions)
Gallery Remote (all versions)

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
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    38 Files
  • 24
    Sep 24th
    65 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