CVE-2020-15105 Vulnerability Analysis & Exploit Details

CVE-2020-15105
Vulnerability Scoring

5.4
/10
Significant Risk

Security assessments indicate that CVE-2020-15105 presents a notable risk, potentially requiring prompt mitigation.

Attack Complexity Details

  • Attack Complexity: High
    Exploits require significant effort and special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: Required
    User interaction is necessary for successful exploitation.

CVE-2020-15105 Details

Status: Analyzed

Last updated: 🕕 21 Jul 2020, 18:06 UTC
Originally published on: 🕘 10 Jul 2020, 21:15 UTC

Time between publication and last update: 10 days

CVSS Release: version 3

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

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

CVE-2020-15105 Vulnerability Summary

CVE-2020-15105: Django Two-Factor Authentication before 1.12, stores the user's password in clear text in the user session (base64-encoded). The password is stored in the session when the user submits their username and password, and is removed once they complete authentication by entering a two-factor authentication code. This means that the password is stored in clear text in the session for an arbitrary amount of time, and potentially forever if the user begins the login process by entering their username and password and then leaves before entering their two-factor authentication code. The severity of this issue depends on which type of session storage you have configured: in the worst case, if you're using Django's default database session storage, then users' passwords are stored in clear text in your database. In the best case, if you're using Django's signed cookie session, then users' passwords are only stored in clear text within their browser's cookie store. In the common case of using Django's cache session store, the users' passwords are stored in clear text in whatever cache storage you have configured (typically Memcached or Redis). This has been fixed in 1.12. After upgrading, users should be sure to delete any clear text passwords that have been stored. For example, if you're using the database session backend, you'll likely want to delete any session record from the database and purge that data from any database backups or replicas. In addition, affected organizations who have suffered a database breach while using an affected version should inform their users that their clear text passwords have been compromised. All organizations should encourage users whose passwords were insecurely stored to change these passwords on any sites where they were used. As a workaround, wwitching Django's session storage to use signed cookies instead of the database or cache lessens the impact of this issue, but should not be done without a thorough understanding of the security tradeoffs of using signed cookies rather than a server-side session storage. There is no way to fully mitigate the issue without upgrading.

Assessing the Risk of CVE-2020-15105

Access Complexity Graph

The exploitability of CVE-2020-15105 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2020-15105

This vulnerability, CVE-2020-15105, requires a high level of attack complexity and low privileges, making it difficult but not impossible to exploit. Organizations should ensure robust security configurations to mitigate risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2020-15105, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2020-15105, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2020-15105 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: Low
    Exploiting CVE-2020-15105 may cause minor changes to data without severely impacting its accuracy.
  • Availability: None
    CVE-2020-15105 does not impact system availability.

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.1% (probability of exploit)

EPSS Percentile: 43.31% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 56.69% of others.

CVE-2020-15105 References

External References

CWE Common Weakness Enumeration

CWE-312

CAPEC Common Attack Pattern Enumeration and Classification

  • Retrieve Embedded Sensitive Data CAPEC-37 An attacker examines a target system to find sensitive data that has been embedded within it. This information can reveal confidential contents, such as account numbers or individual keys/credentials that can be used as an intermediate step in a larger attack.

Vulnerable Configurations

  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:0.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.0.0:-:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.0.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.0.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.0.0:beta2:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.0.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.0.0:beta3:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.0.0:beta3:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.9.1:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.9.1:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.10.0:*:*:*:*:*:*:*
  • cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:django_two-factor_authentication_project:django_two-factor_authentication:1.11.0:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2020-15105: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-3799 – A vulnerability, which was classified as critical, was found in WCMS 11. Affected is an unknown function of the file app/controllers/AnonymousContr...
  • CVE-2025-3798 – A vulnerability, which was classified as critical, has been found in WCMS 11. This issue affects the function sub of the file app/admin/AdvadminCon...
  • CVE-2025-3661 – The SB Chart block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘className’ parameter in all versions up to, and inclu...
  • CVE-2025-3404 – The Download Manager plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the savePackage func...
  • CVE-2021-4455 – The Wordpress Plugin Smart Product Review plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in all v...