{ "id": "CVE-2015-2317", "sourceIdentifier": "cve@mitre.org", "published": "2015-03-25T14:59:04.377", "lastModified": "2018-10-30T16:27:35.843", "vulnStatus": "Modified", "descriptions": [ { "lang": "en", "value": "The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \\x08javascript: URL." }, { "lang": "es", "value": "La funci\u00f3n utils.http.is_safe_url en Django anterior a 1.4.20, 1.5.x, 1.6.x anterior a 1.6.11, 1.7.x anterior a 1.7.7, y 1.8.x anterior a 1.8c1 no valida correctamente las URLs, lo que permite a atacantes remotos realizar ataques de XSS a trav\u00e9s de un caracter de control en una URL, tal y como fue demostrado por una URL \\x08javascript." } ], "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:debian:debian_linux:7.0:*:*:*:*:*:*:*", "matchCriteriaId": "16F59A04-14CF-49E2-9973-645477EA09DA" }, { "vulnerable": true, "criteria": "cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*", "matchCriteriaId": "253C303A-E577-4488-93E6-68A8DD942C38" }, { "vulnerable": true, "criteria": "cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*", "matchCriteriaId": "03117DF1-3BEC-4B8D-AD63-DBBDB2126081" } ] } ] }, { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*", "versionEndIncluding": "1.4.19", "matchCriteriaId": "94432CC2-A802-43D2-A571-1C5BA64F735A" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:*", "matchCriteriaId": "CCDB4B76-6541-4405-B74C-3EEAF84A04E1" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5:alpha:*:*:*:*:*:*", "matchCriteriaId": "8A26B113-8D22-46E5-92C3-12134A68A21E" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5:beta:*:*:*:*:*:*", "matchCriteriaId": "0D99FB28-08F3-45B4-8C04-90074FBC2457" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:*", "matchCriteriaId": "4E2A29CC-A92B-4EC1-8225-408A5048C033" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.2:*:*:*:*:*:*:*", "matchCriteriaId": "73317E26-AA3A-4437-9261-CE76BC1A0749" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.3:*:*:*:*:*:*:*", "matchCriteriaId": "E6046CEB-6CF5-406F-BF6B-4D8C24DDA6FD" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.4:*:*:*:*:*:*:*", "matchCriteriaId": "A666B9E5-EA1B-4FA9-A685-61ECF26CB084" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.5:*:*:*:*:*:*:*", "matchCriteriaId": "8EB3FED4-C50A-4449-9A7B-552CFB02F860" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.6:*:*:*:*:*:*:*", "matchCriteriaId": "5B4F3D5C-5768-48F1-8A39-1B87EC061F37" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.7:*:*:*:*:*:*:*", "matchCriteriaId": "B10E08DF-6B92-452A-876B-DC8D376B0B41" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.8:*:*:*:*:*:*:*", "matchCriteriaId": "DFC18F77-77CB-45CB-869E-267DACD19601" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.9:*:*:*:*:*:*:*", "matchCriteriaId": "0B3937A5-D537-4A9A-B7EF-0F7C441EE520" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.10:*:*:*:*:*:*:*", "matchCriteriaId": "5B63ECA8-0AD0-4670-B026-6762DCC65D15" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.11:*:*:*:*:*:*:*", "matchCriteriaId": "BB39F768-9616-4C56-9613-55A5229DDCA1" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.5.12:*:*:*:*:*:*:*", "matchCriteriaId": "9074F301-7595-464A-8DE5-41E78E5EE804" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6:-:*:*:*:*:*:*", "matchCriteriaId": "29477EEA-D5F8-45A9-9777-8A6BC7C668A5" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6:beta1:*:*:*:*:*:*", "matchCriteriaId": "A83451BD-1D67-4A7F-A62C-F597E51FCC21" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6:beta2:*:*:*:*:*:*", "matchCriteriaId": "0300DC0D-5DD0-42B5-9FE0-54DC557EA40D" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6:beta3:*:*:*:*:*:*", "matchCriteriaId": "85A2021F-B2AF-40DC-9FA2-5F90D2EB813E" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.6:beta4:*:*:*:*:*:*", "matchCriteriaId": "07B12D68-BB49-4931-9D9E-D8134FC0B350" }, { "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.6.10:*:*:*:*:*:*:*", "matchCriteriaId": "D6D0F178-D3DE-4E1D-B666-B40262CDF9BB" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7:beta1:*:*:*:*:*:*", "matchCriteriaId": "BB1EF6D7-0AF4-4146-BA37-961F7048C1C0" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7:beta2:*:*:*:*:*:*", "matchCriteriaId": "5E4CCE84-425C-4B9C-98B7-D858B64B3418" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7:beta3:*:*:*:*:*:*", "matchCriteriaId": "B6B77FCE-F26A-41CB-8D72-E9EF0E352288" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7:beta4:*:*:*:*:*:*", "matchCriteriaId": "985884FE-AEB9-4D93-806E-ADFCC576FF99" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7:rc1:*:*:*:*:*:*", "matchCriteriaId": "D81EE1B4-9CB4-4776-A7CE-44B023C67CA7" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7:rc2:*:*:*:*:*:*", "matchCriteriaId": "81798B3D-A000-40D5-A369-C9A0BEF79A5E" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7:rc3:*:*:*:*:*:*", "matchCriteriaId": "32DDDBEB-6F2F-4BA9-876D-38D41BA29726" }, { "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" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7.3:*:*:*:*:*:*:*", "matchCriteriaId": "61680046-51CD-4217-AC1E-C11265205DB3" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7.4:*:*:*:*:*:*:*", "matchCriteriaId": "4320AE65-B4A7-4CC3-8BE0-6CD4FFBC24C5" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7.5:*:*:*:*:*:*:*", "matchCriteriaId": "18E5B08A-E6FC-440C-A2F8-1D8B727D55E0" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.7.6:*:*:*:*:*:*:*", "matchCriteriaId": "6DAD077F-A239-4021-890E-AD4D9D9A388D" }, { "vulnerable": true, "criteria": "cpe:2.3:a:djangoproject:django:1.8.0:*:*:*:*:*:*:*", "matchCriteriaId": "02D3C0FF-C342-40F1-A187-CD212C16FE8F" } ] } ] }, { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:oracle:solaris:11.2:*:*:*:*:*:*:*", "matchCriteriaId": "0B1C288F-326B-497B-B26C-D26E01262DDB" } ] } ] }, { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:lts:*:*:*", "matchCriteriaId": "5D37DF0F-F863-45AC-853A-3E04F9FEC7CA" }, { "vulnerable": true, "criteria": "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*", "matchCriteriaId": "B6B7CAD7-9D4E-4FDB-88E3-1E583210A01F" }, { "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" } ] } ] } ], "references": [ { "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] }, { "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html", "source": "cve@mitre.org" }, { "url": "http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] }, { "url": "http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html", "source": "cve@mitre.org" }, { "url": "http://ubuntu.com/usn/usn-2539-1", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] }, { "url": "http://www.debian.org/security/2015/dsa-3204", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] }, { "url": "http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] }, { "url": "http://www.securityfocus.com/bid/73319", "source": "cve@mitre.org" }, { "url": "https://www.djangoproject.com/weblog/2015/mar/18/security-releases/", "source": "cve@mitre.org", "tags": [ "Vendor Advisory" ] } ] }