Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2020-4071
django-basic-auth-ip-whitelist project django-basic-auth-ip-whitelist

Score2.4 Low
CVSS 3.1
Exploit probability (EPSS)0.36%
within the next 30 days
CategoryInformation disclosure
Published24 June 2020
Last modified: 17 June 2026

In short

This vulnerability can be exploited with physical access to the device, without logging in, without any user interaction.

Impact is limited: reading confidential data.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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.

CVSS: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Weakness: CWE-208

Affected products

VendorProductVersions
django-basic-auth-ip-whitelist projectdjango-basic-auth-ip-whitelist<0.3.4

Sources

Latest in the same category

  • CVE-2026-140586 Medium 5.5
    A security vulnerability has been detected in Anurag-cod4fun Voting-System up to 108a732dc07f5c8366419a0612fc7d6476ea5ca2. The affected element is an unknown function of the file /voting-system/login/. Such…
    Information disclosure · 1 December 2026
  • CVE-2026-136346 Medium 6.9
    Joomla Extension - joomdonation.com - Exposure of AI service API key in public log file in EDocman < 4.3 - The AI summarizer sent the API key in the request URL and logged the full URL to a log file inside the web…
    Information disclosure · 1 December 2026
  • CVE-2026-107136 Medium 5.9
    The product's firmware can be downloaded and inspected without authentication or device-specific protection mechanisms. As a result, sensitive implementation details and security-related configuration information may…
    Information disclosure · 1 December 2026
  • CVE-2026-107135 Medium 5.3
    An unauthenticated endpoint exposes different responses based on the validity and status of specified user levels. This behavior may allow a remote attacker to enumerate configured and active user levels on the device,…
    Information disclosure · 1 December 2026
  • CVE-2026-90640 Not scored
    The SVG import filter in Apache OpenOffice versions through 4.1.16 allows a crafted document to read any local file without prompt, and include its contents when the document is saved or exported as PDF. Users are…
    Information disclosure · 1 December 2026
  • CVE-2026-140260 Low 2.1
    A vulnerability was identified in SGLang up to 0.5.23. Affected is the function NGRAMWorker of the file python/sglang/srt/speculative/ngram_worker.py of the component NGRAM Speculative Decoding. Such manipulation leads…
    Information disclosure · 1 December 2026