Likes Likes:  0
Resultaten 1 tot 2 van de 2
Geen
  1. #1
    Luke Macken
    [ GLSA 200501-45 ] Gallery: Cross-site scripting vulnerability
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    [ GLSA 200501-45 ] Gallery: Cross-site scripting vulnerability


    --IS0zKkzwUGydFO0o
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Gentoo Linux Security Advisory GLSA 200501-45
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    http://security.gentoo.org/
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Severity: Low
    Title: Gallery: Cross-site scripting vulnerability
    Date: January 30, 2005
    Bugs: #78522
    ID: 200501-45

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

    Synopsis
    ========

    Gallery is vulnerable to cross-site scripting attacks.

    Background
    ==========

    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
    =================

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

    Description
    ===========

    Rafel Ivgi has discovered a cross-site scripting vulnerability where
    the 'username' parameter is not properly sanitized in 'login.php'.

    Impact
    ======

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

    Workaround
    ==========

    There is no known workaround at this time.

    Resolution
    ==========

    All Gallery users should upgrade to the latest version:

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

    References
    ==========

    [ 1 ] Gallery Announcement
    http://gallery.menalto.com/modules.p...rticle&sid=147
    [ 2 ] Secunia Advisory SA13887
    http://secunia.com/advisories/13887/

    Availability
    ============

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

    http://security.gentoo.org/glsa/glsa-200501-45.xml

    Concerns?
    =========

    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
    =======

    Copyright 2005 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/2.0

    --IS0zKkzwUGydFO0o
    Content-Type: application/pgp-signature
    Content-Disposition: inline

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

    iD8DBQFB/UlNRsm3eDkOu7kRAi7/AJsGh9UkBGsQQgKEnjx8ixTn5+SazQCfbK3t
    E5C3Y2oUDpBf/Ds5CUABslg=
    =Hf63
    -----END PGP SIGNATURE-----

    --IS0zKkzwUGydFO0o--

  2. #2
    Paul Laudanski
    [ GLSA 200501-45 ] Gallery: Cross-site scripting vulnerability
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: [ GLSA 200501-45 ] Gallery: Cross-site scripting vulnerability

    Thanks for the notification. Lets keep in mind that we don't want to see
    another form of the highlight or sanity issue here, as the removeTags is
    simply the strip_tags PHP function. As we've seen, not all attacks will
    have HTML tags in them.

    gallery fix:

    $username = htmlspecialchars(removeTags(urldecode($username))) ;

    (The same also found in search.php)

    phpbb pre-fix:

    $words = explode(' ', trim(htmlspecialchars(urldecode($HTTP_GET_VARS['highlight']))));

    phpbb fix:

    $words = explode(' ', trim(htmlspecialchars($HTTP_GET_VARS['highlight'])));

    I have not taken the time to audit the code, but as we've all become
    familiar with the raw encoded URL during the wonderful days of Christmas,
    it would be a good idea to run a quick test to ensure that base is
    covered. So hopefully I'm wrong and just being over-paranoid.

    In any case, thanks for the update. Please correct me if I'm off base
    while thinking aloud.

    On Sun, 30 Jan 2005, Luke Macken wrote:

    > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    > Gentoo Linux Security Advisory GLSA 200501-45
    > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    > http://security.gentoo.org/
    > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    >
    > Severity: Low
    > Title: Gallery: Cross-site scripting vulnerability
    > Date: January 30, 2005
    > Bugs: #78522
    > ID: 200501-45
    >
    > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    >


    --
    Regards,

    Paul Laudanski - Computer Cops, LLC.
    CastleCops(SM) - http://castlecops.com
    http://justalittlepoke.com | http://cuddlesnkisses.com |
    http://zhen-xjell.com


Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2026 Webhostingtalk.nl.
Web Statistics