Executive Summary

Informations
Name CVE-2020-4071 First vendor Publication 2020-06-24
Vendor Cve Last vendor Modification 2023-11-07

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Overall CVSS Score 2.4
Base Score 2.4 Environmental Score 2.4
impact SubScore 1.4 Temporal Score 2.4
Exploitabality Sub Score 0.9
 
Attack Vector Physical Attack Complexity Low
Privileges Required None User Interaction None
Scope Unchanged Confidentiality Impact Low
Integrity Impact None Availability Impact None
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:L/Au:N/C:P/I:N/A:N)
Cvss Base Score 2.1 Attack Range Local
Cvss Impact Score 2.9 Attack Complexity Low
Cvss Expoit Score 3.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

In django-basic-auth-ip-whitelist before 0.3.4, a potential timing attack exists on websites where the basic authentication is used or configured, i.e. BASIC_AUTH_LOGIN and BASIC_AUTH_PASSWORD is set. Currently the string comparison between configured credentials and the ones provided by users is performed through a character-by-character string comparison. This enables a possibility that attacker may time the time it takes the server to validate different usernames and password, and use this knowledge to work out the valid credentials. This attack is understood not to be realistic over the Internet. However, it may be achieved from within local networks where the website is hosted, e.g. from inside a data centre where a website's server is located. Sites protected by IP address whitelisting only are unaffected by this vulnerability. This vulnerability has been fixed on version 0.3.4 of django-basic-auth-ip-whitelist. Update to version 0.3.4 as soon as possible and change basic authentication username and password configured on a Django project using this package. A workaround without upgrading to version 0.3.4 is to stop using basic authentication and use the IP whitelisting component only. It can be achieved by not setting BASIC_AUTH_LOGIN and BASIC_AUTH_PASSWORD in Django project settings.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-4071

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-208 Timing Discrepancy Information Leak

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1

Sources (Detail)

https://groups.google.com/forum/#%21msg/django-developers/iAaq0pvHXuA/fpUuwjK...
Source Url
CONFIRM https://github.com/tm-kn/django-basic-auth-ip-whitelist/security/advisories/G...

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
Date Informations
2023-11-07 21:37:10
  • Multiple Updates
2021-05-04 13:56:11
  • Multiple Updates
2021-04-22 03:03:06
  • Multiple Updates
2020-07-09 21:23:03
  • Multiple Updates
2020-06-24 17:22:47
  • First insertion