CVE-2016-2512
python-django: Malicious redirect and possible XSS attack via user-supplied redirect URLs containing basic auth
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic authentication, as demonstrated by http://mysite.example.com\@attacker.com.
La función utils.http.is_safe_url en Django en versiones anteriores a 1.8.10 y 1.9.x en versiones anteriores a 1.9.3 permite a atacantes remotos redirigir a usuarios a páginas web arbitrarias y llevar a cabo ataques de phishing o posiblemente llevar a cabo ataques de XSS a través de una URL que contiene autenticación básica, según lo demostrado por http://mysite.example.com\@attacker.com.
An open-redirect flaw was found in the way Django's django.utils.http.is_safe_url() function filtered authentication URLs. An attacker able to trick a victim into visiting a crafted URL could use this flaw to redirect that victim to a malicious site.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2016-02-19 CVE Reserved
- 2016-03-03 CVE Published
- 2023-03-08 EPSS Updated
- 2024-08-05 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
CAPEC
References (15)
URL | Tag | Source |
---|---|---|
http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html | X_refsource_confirm | |
http://www.securityfocus.com/bid/83879 | Vdb Entry | |
http://www.securitytracker.com/id/1035152 | Vdb Entry | |
https://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0 | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
http://rhn.redhat.com/errata/RHSA-2016-0502.html | 2017-09-08 | |
http://rhn.redhat.com/errata/RHSA-2016-0504.html | 2017-09-08 | |
http://rhn.redhat.com/errata/RHSA-2016-0505.html | 2017-09-08 | |
http://rhn.redhat.com/errata/RHSA-2016-0506.html | 2017-09-08 | |
http://www.debian.org/security/2016/dsa-3544 | 2017-09-08 | |
http://www.ubuntu.com/usn/USN-2915-1 | 2017-09-08 | |
http://www.ubuntu.com/usn/USN-2915-2 | 2017-09-08 | |
http://www.ubuntu.com/usn/USN-2915-3 | 2017-09-08 | |
https://www.djangoproject.com/weblog/2016/mar/01/security-releases | 2017-09-08 | |
https://access.redhat.com/security/cve/CVE-2016-2512 | 2016-03-24 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1311431 | 2016-03-24 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Djangoproject Search vendor "Djangoproject" | Django Search vendor "Djangoproject" for product "Django" | 1.8.9 Search vendor "Djangoproject" for product "Django" and version "1.8.9" | - |
Affected
| ||||||
Djangoproject Search vendor "Djangoproject" | Django Search vendor "Djangoproject" for product "Django" | 1.9 Search vendor "Djangoproject" for product "Django" and version "1.9" | - |
Affected
| ||||||
Djangoproject Search vendor "Djangoproject" | Django Search vendor "Djangoproject" for product "Django" | 1.9.1 Search vendor "Djangoproject" for product "Django" and version "1.9.1" | - |
Affected
| ||||||
Djangoproject Search vendor "Djangoproject" | Django Search vendor "Djangoproject" for product "Django" | 1.9.2 Search vendor "Djangoproject" for product "Django" and version "1.9.2" | - |
Affected
|