Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2058498623.1644141277926128586.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com>
Date: Wed, 30 Jun 2010 15:28:48 -0400 (EDT)
From: Josh Bressers <bressers@...hat.com>
To: oss-security@...ts.openwall.com
Cc: David Malcolm <dmalcolm@...hat.com>, Kyle VanderBeek <kylev@...ev.com>,
        "Steven M. Christey" <coley@...us.mitre.org>
Subject: Re: CVE Request -- Python-Mako (prior v0.3.4):
 Improper escaping of single quotes in escape.cgi (XSS)

Please use CVE-2010-2480

Thanks.

-- 
    JB


----- "Jan Lieskovsky" <jlieskov@...hat.com> wrote:

> Hi Steve, vendors,
> 
>    Craig Younkins reported:
>      [1] http://bugs.python.org/issue9061
> 
>    that Python Mako (of versions prior v0.3.4), a template library
> written in Python,
>    improperly escaped single quotes in escape.cgi. An attacker could
> use this flaw to conduct
>    cross-site scripting (XSS) attacks.
> 
>    References:
>      [2] http://www.makotemplates.org/CHANGES
> 
> Sample public PoC (from [1]):
> 
>    Proof of concept:
>    print """<body class='%s'></body>""" % cgi.escape("'
> onload='alert(1);'
> bad='")
> 
> Could you allocate a CVE id for this?
> 
> Thanks && Regards, Jan.
> --
> Jan iankko Lieskovsky / Red Hat Security Response Team

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.