{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-13239 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-13239 is a critical authentication bypass vulnerability in Drupal Two-factor Authentication (TFA), published on 9 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-13239 and fix it if it is affected.\n\nWhat it is: CVE-2024-13239 is a critical authentication bypass vulnerability in Drupal Two-factor Authentication (TFA), published on 9 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-13239 in the wild and no public exploit code.\n\nAffected product: Drupal Two-factor Authentication (TFA). No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-13239/ (Markdown: https://insights.sbomify.com/CVE-2024-13239/index.md)","id":"CVE-2024-13239","markdown":"https://insights.sbomify.com/CVE-2024-13239/index.md","name":"CVE-2024-13239","record":{"aliases":["DRUPAL-CONTRIB-2024-003","GHSA-gqf5-wjqv-v83c"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Drupal TFA module","requires_auth":"none","summary":"Attackers can bypass two-factor authentication in the Drupal TFA module, allowing unauthorized access to user accounts.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"drupal","cpe":[{"product":"two-factor_authentication","vendor":"two-factor_authentication_project"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-1390","name":"Weak Authentication"}],"description":"Weak Authentication vulnerability in Drupal Two-factor Authentication (TFA) allows Authentication Abuse.This issue affects Two-factor Authentication (TFA): from 0.0.0 before 1.5.0.","ecosystems":["Packagist:https://packages.drupal.org/8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Two-factor Authentication (TFA) - Moderately critical - Access bypass - SA-CONTRIB-2024-003","id":"CVE-2024-13239","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":1,"n_references":1,"next":{"headline":"Open Social - Moderately critical - Access bypass - SA-CONTRIB-2024-004","id":"CVE-2024-13240"},"packages":[{"ecosystem":"Packagist:https://packages.drupal.org/8","fixed":["1.5.0"],"introduced":["0"],"last_affected":[],"package":"drupal/tfa","purl":"pkg:composer/drupal/tfa?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"DRUPAL-CONTRIB-2024-003"}],"prev":{"headline":"Typogrify - Moderately critical - Cross Site Scripting - SA-CONTRIB-2024-002","id":"CVE-2024-13238"},"products":["Two-factor Authentication (TFA)"],"published":"2025-01-09","related":[{"cvss_score":9.8,"headline":"Two-factor Authentication (TFA) - Critical - Access bypass - SA-CONTRIB-2024-043","id":"CVE-2024-13279","kev_date_added":null,"published":"2025-01-09"},{"cvss_score":8.1,"headline":"Two-factor Authentication (TFA) - Moderately critical - Access bypass - SA-CONTRIB-2025-023","id":"CVE-2025-31694","kev_date_added":null,"published":"2025-03-31"},{"cvss_score":6.5,"headline":"Two-factor Authentication (TFA) - Less critical - Access bypass - SA-CONTRIB-2025-085","id":"CVE-2025-7030","kev_date_added":null,"published":"2025-07-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"MIT","name":"Drupal","prefix":"DRUPAL"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-10","vendors":["Drupal"]},"summary":"Attackers can bypass two-factor authentication in the Drupal TFA module, allowing unauthorized access to user accounts.","url":"https://insights.sbomify.com/CVE-2024-13239/"}