SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Multimedia)  >   Gallery Vendors:   Gallery Project
(Gentoo Issues Fix) Gallery Input Validation Error in 'include' Variable Lets Remote Users Conduct Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1012105
SecurityTracker URL:  http://securitytracker.com/id/1012105
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Nov 6 2004
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 1.4.4-pl3
Description:   An input validation vulnerability was reported in Gallery. A remote user can conduct cross-site scripting attacks.

The vendor reported that a remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the Gallery software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

The flaw resides in several files, including 'view_photo.php', 'index.php', and 'init.php'. In 'index.php', the 'include' variable is not properly escaped before being displayed.

The vendor credits Jim Paris with discovering this flaw.

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Gallery software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Solution:   Gentoo has released a fix and indicates that all Gallery users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/gallery-1.4.4_p4"

Vendor URL:  gallery.menalto.com/index.php (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Nov 3 2004 Gallery Input Validation Error in 'include' Variable Lets Remote Users Conduct Cross-Site Scripting Attacks



 Source Message Contents

Subject:  [gentoo-announce] [ GLSA 200411-10 ] Gallery: Cross-site scripting vulnerability



--=-yfw0XjzpXdWXN1/FLV3Y
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                        GLSA 200411-10:01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Low
     Title: Gallery: Cross-site scripting vulnerability
      Date: November 06, 2004
      Bugs: #69904
        ID: 200411-10:01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

Gallery is vulnerable to cross-site scripting attacks.

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Gallery is a web application written in PHP which is used to organize
and publish photo albums. It allows multiple users to build and
maintain their own albums. It also supports the mirroring of images on
other servers.

Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

    -------------------------------------------------------------------
     Package           /  Vulnerable  /                     Unaffected
    -------------------------------------------------------------------
  1  www-apps/gallery     < 1.4.4_p4                       >=3D 1.4.4_p4

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Jim Paris has discovered a cross-site scripting vulnerability in
Gallery.

Impact
=3D=3D=3D=3D=3D=3D

By sending a carefully crafted URL, an attacker can inject and execute
script code in the victim's browser window, and potentially compromise
the users gallery.

Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

There is no known workaround at this time.

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All Gallery users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=3Dwww-apps/gallery-1.4.4_p4"

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  [ 1 ] Gallery Announcement
        http://gallery.menalto.com/modules.php?op=3Dmodload&name=3DNews&fil=
e=3Darticle&sid=3D142&mode=3Dthread&order=3D0&thold=3D0

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200411-10.xml

Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=3D=3D=3D=3D=3D=3D=3D

Copyright 2004 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/1.0

--=-yfw0XjzpXdWXN1/FLV3Y
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBBjQ+jRsm3eDkOu7kRAn5bAJ0TUnNoYFJR+EUznCKpqfHV7wydOQCfbzVF
cR7hn2Er9IPW4E6QWwBXxBw=
=kBj2
-----END PGP SIGNATURE-----

--=-yfw0XjzpXdWXN1/FLV3Y--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC