提交 #870673: man-group dtale <=3.22.0 Improper Restriction of Excessive Authentication Attempts信息

标题man-group dtale <=3.22.0 Improper Restriction of Excessive Authentication Attempts
描述When authentication is enabled, D-Tale exposes a /login route that accepts username/password via an HTML form. On failure it simply re-renders the login template with an error and permits an immediate retry. The implementation contains: -No rate limiting (no per-IP or per-account request throttling), -No account lockout after repeated failures, -No incremental delay / exponential backoff, -No CAPTCHA or challenge-response, -No attempt counter of any kind. An attacker can therefore submit credential guesses as fast as the network and server allow. At a conservative 50–500 requests/second, a 1,000,000-entry wordlist (e.g. rockyou) is exhausted in roughly 5.6 hours down to ~36 minutes. Because credentials are stored and compared in plaintext (no hashing/salting), and the comparison uses Python's non-constant-time ==, any weak or default password is recovered quickly. The plaintext storage means the configured password is also directly disclosed by any read of the config file (~/.config/dtale.ini or DTALE_CONFIG), and the non-constant-time compare is a theoretical timing side channel (largely masked by network jitter in practice, hence listed as compounding rather than primary). Once a valid username/password is found, the attacker logs in normally, the server sets session["logged_in"] = True / session["username"], and the requires_auth decorator grants full access to all protected routes.
来源⚠️ https://github.com/man-group/dtale/issues/961
用户
 ZAST.AI (UID 87884)
提交2026-06-26 10時29分 (2 月前)
管理2026-08-14 20時57分 (2 months later)
状态已接受
VulDB条目390087 [mangroup dtale 直到 3.22.0 Login Endpoint dtale/auth.py login 信息公开]
积分20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!