CVE-2012-3442

Current Description

The (1) django.http.HttpResponseRedirect and (2) django.http.HttpResponsePermanentRedirect classes in Django before 1.3.2 and 1.4.x before 1.4.1 do not validate the scheme of a redirect target, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via a data: URL.

Basic Data

PublishedJuly 31, 2012
Last ModifiedApril 11, 2013
Assignercve@mitre.org
Data TypeCVE
Data FormatMITRE
Data Version4.0
Problem TypeCWE-79
CVE Data Version4.0

Base Metric V2

CVSS 2 - Version2.0
CVSS 2 - Vector StringAV:N/AC:M/Au:N/C:N/I:P/A:N
CVSS 2 - Access VectorNETWORK
CVSS 2 - Access ComplexityMEDIUM
CVSS 2 - AuthenticationNONE
CVSS 2 - Confidentiality ImpactNONE
CVSS 2 - Availability ImpactNONE
CVSS 2 - Base Score4.3
SeverityMEDIUM
Exploitability Score8.6
Impact Score2.9
Obtain All Privilegefalse
Obtain User Privilegefalse
Obtain Other Privilegefalse

Base Metric V3

No data provided.

Configurations

  • OR - Configuration 1
    Cpe VersionPartVendorProductVersionUpdateEditionLanguageSW EditionTarget SWTarget HWOtherVersion Start IncludingVersion End IncludingVersion Start ExcludingVersion End Excluding
    2.3ApplicationDjangoprojectDjango0.95*******
    2.3ApplicationDjangoprojectDjango0.96*******
    2.3ApplicationDjangoprojectDjango1.0*******
    2.3ApplicationDjangoprojectDjango1.0alpha1******
    2.3ApplicationDjangoprojectDjango1.0alpha2******
    2.3ApplicationDjangoprojectDjango1.0beta******
    2.3ApplicationDjangoprojectDjango1.0beta2******
    2.3ApplicationDjangoprojectDjango1.0.1*******
    2.3ApplicationDjangoprojectDjango1.0.2*******
    2.3ApplicationDjangoprojectDjango1.1*******
    2.3ApplicationDjangoprojectDjango1.1alpha1******
    2.3ApplicationDjangoprojectDjango1.1beta1******
    2.3ApplicationDjangoprojectDjango1.1rc1******
    2.3ApplicationDjangoprojectDjango1.1.2*******
    2.3ApplicationDjangoprojectDjango1.1.3*******
    2.3ApplicationDjangoprojectDjango1.1.4*******
    2.3ApplicationDjangoprojectDjango1.2*******
    2.3ApplicationDjangoprojectDjango1.2beta1******
    2.3ApplicationDjangoprojectDjango1.2rc1******
    2.3ApplicationDjangoprojectDjango1.2-alpha1*******
    2.3ApplicationDjangoprojectDjango1.2.2*******
    2.3ApplicationDjangoprojectDjango1.2.4*******
    2.3ApplicationDjangoprojectDjango1.2.5*******
    2.3ApplicationDjangoprojectDjango1.2.6*******
    2.3ApplicationDjangoprojectDjango1.2.7*******
    2.3ApplicationDjangoprojectDjango********1.3
    2.3ApplicationDjangoprojectDjango1.3alpha1******
    2.3ApplicationDjangoprojectDjango1.3beta1******
    2.3ApplicationDjangoprojectDjango1.4*******

Vulnerable Software List

VendorProductVersions
Djangoproject Django *, 0.95, 0.96, 1.0, 1.0.1, 1.0.2, 1.1, 1.1.2, 1.1.3, 1.1.4, 1.2, 1.2-alpha1, 1.2.2, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.3, 1.4

References

NameSourceURLTags
DSA-2529http://www.debian.org/security/2012/dsa-2529DEBIAN
MDVSA-2012:143http://www.mandriva.com/security/advisories?name=MDVSA-2012:143MANDRIVA
[oss-security] 20120730 CVE Request: Django 1.3.1 and 1.4.0 security issueshttp://www.openwall.com/lists/oss-security/2012/07/31/1MLIST
[oss-security] 20120730 Re: CVE Request: Django 1.3.1 and 1.4.0 security issueshttp://www.openwall.com/lists/oss-security/2012/07/31/2MLIST
USN-1560-1http://www.ubuntu.com/usn/USN-1560-1UBUNTU
https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued/https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued/CONFIRMPATCH Vendor Advisory