{ "id": "CVE-2015-0220", "sourceIdentifier": "secalert@redhat.com", "published": "2015-01-16T16:59:19.563", "lastModified": "2016-12-22T02:59:22.940", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "The django.util.http.is_safe_url function in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 does not properly handle leading whitespaces, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL, related to redirect URLs, as demonstrated by a \"\\njavascript:\" URL." }, { "lang": "es", "value": "La funci\u00f3n django.util.http.is_safe_url en Django anterior a 1.4.18, 1.6.x anterior a 1.6.10, y 1.7.x anterior a 1.7.3 no maneja correctamente los espacios en blanco l\u00edder, lo que permite a atacantes remotos realizar ataques de XSS a trav\u00e9s de una URL manipulada, relacionado con redirigir URLs, tal y como fue demostrado por una URL '\\njavascript:'." } ], "metrics": { "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE", "baseScore": 4.3 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-79" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:canonical:ubuntu_linux:10.04:*:lts:*:*:*:*:*", "matchCriteriaId": "823E02CA-A145-46C2-BC4C-16DECB060B19" }, { "vulnerable": true, "criteria": "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:lts:*:*:*:*:*", "matchCriteriaId": "E685F933-7C10-49B6-9F4B-89478AF51761" }, { "vulnerable": true, "criteria": "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*", "matchCriteriaId": "B5A6F2F3-4894-4392-8296-3B8DD2679084" }, { "vulnerable": true, "criteria": "cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*", "matchCriteriaId": "49A63F39-30BE-443F-AF10-6245587D3359" } ] } ] }, { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*", "versionEndIncluding": "1.4.17", "matchCriteriaId": "E636F6CA-1979-43DA-A12F-23EC009B4A65" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6:*:*:*:*:*:*:*", "matchCriteriaId": "5463AB51-6088-473A-BB54-BB78ACFC6DCA" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6.1:*:*:*:*:*:*:*", "matchCriteriaId": "0CC369A0-0092-450D-91E9-13C7AF7EBC16" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6.2:*:*:*:*:*:*:*", "matchCriteriaId": "4B6B7974-ABEF-4E0C-8503-6E9C22D28C78" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6.3:*:*:*:*:*:*:*", "matchCriteriaId": "55460F1D-661B-465C-8A22-E4E6DA2834B3" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6.4:*:*:*:*:*:*:*", "matchCriteriaId": "9FD4FB46-3A98-4B9B-A241-C39E2C2A0FEC" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6.5:*:*:*:*:*:*:*", "matchCriteriaId": "FF87FDAB-51A2-41C4-A4C4-5180B0230C3F" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6.6:*:*:*:*:*:*:*", "matchCriteriaId": "80E8431B-FEA1-4D94-B367-56E8678C3CD3" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6.7:*:*:*:*:*:*:*", "matchCriteriaId": "81E7779A-EDB9-4871-8D7C-63C5A7C7A0DB" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6.8:*:*:*:*:*:*:*", "matchCriteriaId": "ABB56113-5E66-4EE9-B551-FD40C2FE307B" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6.9:*:*:*:*:*:*:*", "matchCriteriaId": "A2985241-279F-46AC-8BBF-DF2F439FE720" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7:*:*:*:*:*:*:*", "matchCriteriaId": "72653EB4-CE19-42FC-9C99-5CB391DABE7E" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7.1:*:*:*:*:*:*:*", "matchCriteriaId": "06513AE1-11E4-4A9C-BDA4-D0511A9DCFC8" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7.2:*:*:*:*:*:*:*", "matchCriteriaId": "6004EA17-A2B4-4E4C-A738-210FCAC2CA32" } ] } ] } ], "references": [ { "url": "http://advisories.mageia.org/MGASA-2015-0026.html", "source": "secalert@redhat.com" }, { "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html", "source": "secalert@redhat.com" }, { "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html", "source": "secalert@redhat.com" }, { "url": "http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html", "source": "secalert@redhat.com" }, { "url": "http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/62285", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/62309", "source": "secalert@redhat.com" }, { "url": "http://secunia.com/advisories/62718", "source": "secalert@redhat.com" }, { "url": "http://ubuntu.com/usn/usn-2469-1", "source": "secalert@redhat.com" }, { "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:036", "source": "secalert@redhat.com" }, { "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:109", "source": "secalert@redhat.com" }, { "url": "https://www.djangoproject.com/weblog/2015/jan/13/security/", "source": "secalert@redhat.com", "tags": [ "Exploit", "Vendor Advisory" ] } ] }