Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid AIL account username and password
-
DeliverySubmit credentials at login endpoint
-
ExploitReach OTP verification step
-
ExecutionScript unlimited HOTP code submissions to verify_2fa route
-
PersistMatch valid counter-window OTP value
-
ImpactGain unauthorized account access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Brute-force prevention, rate limiting
|
| Exploitation Conditions | The attacker must have already completed the first authentication stage, meaning they must possess a valid AIL username and corresponding password - without these, the verify_2fa endpoint is unreachable. The 2FA/OTP feature must be enabled for the targeted account; accounts without 2FA configured are not affected by this specific vulnerability. Exploitation requires network access to the AIL web interface HTTP(S) port; deployments restricted to internal networks or accessible only via VPN significantly reduce exposure. The HOTP counter-based implementation means the attacker's guesses must fall within the server's accepted counter window, though typical HOTP implementations allow a lookahead window of several codes, making this a minor rather than blocking constraint. Authentication requirements beyond password possession are not confirmed from available data, but CVSS PR:N in the provided vector indicates no system-level privileges are required beyond having a valid user credential. |
| Impact | The CVSS 4.0 base score is 5.1 (Medium) with vector AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N. The UI:A designation warrants scrutiny: in this context it likely reflects that the attacker must have engaged with the authentication flow as a credentialed user (i.e., possessed a valid password) rather than the traditional meaning of a victim performing an action. The impact ceiling is VC:L, reflecting account-level access within the AIL instance rather than host-level compromise or data exfiltration beyond that account's scope. No EPSS score was provided in the source intelligence, and the vulnerability is not listed in the CISA KEV catalog. No public exploit code has been identified. Real-world risk is moderate but deployment-context-sensitive: organizations that use AIL to process sensitive threat intelligence and rely on 2FA as a meaningful second factor face material exposure if user passwords are compromised through any external channel. The HOTP counter-based design removes the 30-second time pressure that would throttle TOTP brute-forcing, meaning an attacker with network access to the OTP endpoint could enumerate codes at network speed. The primary limiting factor is the prerequisite of a valid password - without it, the OTP endpoint is unreachable. |
| Exploit ScenarioDerived | An attacker who has acquired a valid AIL user's password through credential phishing or a breach of an external credential store submits it at the login page and reaches the OTP verification screen. The attacker then scripts rapid HTTP POST requests to the verify_2fa endpoint, cycling through counter-window HOTP values or sequential 6-digit codes. Because no attempt counter existed before the patch, the script runs until a valid OTP is accepted, granting the attacker full access to that user's AIL account. No public proof-of-concept exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Unlimited OTP brute-force against AIL Framework's two-factor authentication endpoint allows an attacker who already possesses a valid account password to bypass the second authentication factor entirely and gain unauthorized account access. The verify_2fa() route accepted an unbounded number of OTP submissions without incrementing a failure counter or enforcing a lockout, and the implementation uses counter-based HOTP rather than time-limited TOTP, removing the time-window throttle that would otherwise constrain brute-force speed. No public exploit code or CISA KEV listing exists at time of analysis, but the prerequisite of a valid password - obtainable via phishing or credential dumps - makes this a realistic threat against any AIL deployment where 2FA is meant to serve as a meaningful access boundary.
RemediationAI
The primary remediation is to update AIL Framework to a commit at or beyond d3a394fe68fd5aeee86f3a3c91d4a0350f91e974, available at https://github.com/ail-project/ail-framework/commit/d3a394fe68fd5aeee86f3a3c91d4a0350f91e974. A specific tagged release version incorporating this fix has not been independently confirmed - administrators should verify their deployed commit hash against this fix. The patch introduces per-user OTP lockout after 30 failed attempts (1-hour block), automatic counter reset on successful OTP entry, and two administrator recovery endpoints: /settings/users/purge_failed_login to clear all login brute-force counters globally and /settings/user/purge_otp_timeout?user_id={id} to clear an individual user's OTP lockout. As a compensating control prior to patching, restricting network access to the AIL web interface to trusted IP ranges or a VPN reduces attacker reach to the OTP endpoint without eliminating the vulnerability. Monitoring Redis or application access logs for rapid sequential failed_otp_user_id increments can provide early detection of active brute-force attempts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AIL Framework (cpe:2.3:a:ail_project:ail_framework:*:*:*:*:*:*:*:*) is an open-source threat intelligence analysis platform maintained by CIRCL. Its authentication flow is two-stage: username/password verification followed by OTP verification in the verify_2fa() Flask blueprint route. The OTP implementation uses HOTP (counter-based one-time passwords), evidenced by references to get_htop_counter() in the patch diff - a notable detail because HOTP codes remain valid until consumed, unlike TOTP codes that expire every 30 seconds, making time-unlimited brute-forcing more tractable. CWE-307 (Improper Restriction of Excessive Authentication Attempts) is the precise root cause: the verify_2fa() function incremented no failure counter and checked no threshold before each guess. The patch remedies this by storing a per-user failure counter in Redis under the key failed_otp_user_id:{user_id}, enforcing a hard lockout after 30 failures with a 3600-second TTL, clearing the counter on successful verification, and adding administrator-only endpoints to purge individual or global OTP lockouts.
Know when Ail Framework gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
AC:H reflects the hard prerequisite of a compromised target password; C:L/I:L because account access grants read and limited write within that account's AIL scope.
Primary rating from Vendor (CIRCL).
CVSS VectorVendor: CIRCL
DescriptionCVE.org
AIL did not restrict repeated failed attempts to verify a two-factor authentication (OTP) code. An attacker who had reached the 2FA verification step, such as after successfully completing the password-authentication stage, could submit an unlimited number of OTP guesses. This could enable brute-force guessing of a valid code and bypass the intended second authentication factor, resulting in unauthorized account access.
The patch introduces per-user failed-OTP tracking, blocks verification after 30 failed attempts for one hour, clears the counter after a successful OTP verification, and provides administrator recovery actions to purge affected lockouts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Ail Framework
View allStored cross-site scripting in AIL Framework <6.8 allows authenticated high-privilege attackers to inject malicious Java
Stored cross-site scripting in the AIL Framework's username timeline lets a remote, unauthenticated attacker execute arb
Stored cross-site scripting in AIL Framework allows an authenticated attacker who can influence matched, tracked, or tag
Authenticated path traversal in AIL Framework (CIRCL's Analysis Information Leak threat-intel platform) lets a low-privi
Global.py in AIL framework 2.8 allows path traversal. Rated high severity (CVSS 7.5), this vulnerability is remotely exp
Path traversal in AIL Framework's PDF object handling lets an authenticated user read files outside the intended PDF sto
Non-blind SSRF in AIL Framework's crawler submission interface allows low-privileged authenticated users to pivot throug
Crafted URL injection in the Onion module of the AIL Framework lets unauthenticated content publishers push arbitrary no
Stored cross-site scripting (XSS) in the AIL Framework crawler splash domain page allows an authenticated user-role API
Cross-tenant authorization bypass in the AIL Framework crawler task API (api_add_crawler_task) lets an authenticated use
Path traversal in AIL Framework's `/objects/item/diff` endpoint exposes gzip-compressed server-side files to authenticat
Stored cross-site scripting in the AIL Framework web dashboard lets a low-privilege authenticated user inject JavaScript
EUVD-2026-38239
GHSA-hc8r-p4jw-p6fr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB