Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 609573 - (CVE-2010-2480) CVE-2010-2480 Python-Mako (prior v0.3.4): Improper escaping of single quotes in escape.cgi (XSS)
CVE-2010-2480 Python-Mako (prior v0.3.4): Improper escaping of single quotes ...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20100623,repor...
: Security
Depends On: 607302 608155
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-30 12:04 EDT by Jan Lieskovsky
Modified: 2016-03-04 06:26 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2010-06-30 12:04:24 EDT
Craig Younkins reported:
  [1] http://bugs.python.org/issue9061

that Python Mako, 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='")

CVE Request:
  [3] http://www.openwall.com/lists/oss-security/2010/06/30/9
Comment 1 Jan Lieskovsky 2010-07-03 13:29:28 EDT
The CVE identifier of CVE-2010-2480 has been assigned to this:

Mako before 0.3.4 relies on the cgi.escape function in the Python
standard library for cross-site scripting (XSS) protection, which
makes it easier for remote attackers to conduct XSS attacks via
vectors involving single-quote characters and a JavaScript onLoad
event handler for a BODY element.

References:
  [1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2480
  [2] http://bugs.python.org/issue9061
  [3] http://www.makotemplates.org/CHANGES
  [4] http://secunia.com/advisories/39935

Note You need to log in before you can comment on or make changes to this bug.