← Back to Baseline

MB-0011

Automated Configured admin login CAPTCHA or bounded lockout

MB-C02 Admin & Auth Hardening Medium

Default-scope Magento admin login configuration enables native CAPTCHA for backend_login, recognized backend_login reCAPTCHA, or a positive lockout failure limit at most 10 with a positive lockout threshold. Locked env.php/config.php settings precede core_config_data. Custom authentication enforcement and runtime effectiveness require separate evidence.

Overview

Default-scope Magento admin login configuration enables native CAPTCHA for backend_login, recognized backend_login reCAPTCHA, or a positive lockout failure limit at most 10 with a positive lockout threshold. Locked env.php/config.php settings precede core_config_data. Custom authentication enforcement and runtime effectiveness require separate evidence.

Why it Matters

Without rate-limiting, attackers can try thousands of username and password combinations on the admin login page without being slowed down. This makes brute force and credential stuffing attacks much more likely to succeed, especially if users reuse weak passwords.

Adding limits on failed login attempts, or using CAPTCHA after a few failures, makes automated attacks far less effective. Slowing down attackers gives defenders more time to detect the attack and reduces the risk of account compromise.

Verification Steps

Manual Verification

  1. Resolve backend_login CAPTCHA/reCAPTCHA settings or the Admin lockout fields.
  2. For the lockout branch, require a positive failure limit no greater than 10 and a positive lockout threshold.
  3. Check custom login modules separately.

Command / Review Sample

php bin/magento config:show admin/security/lockout_failures
php bin/magento config:show admin/security/lockout_threshold

Use the assessed Magento project and the appropriate application or read-only review account. Replace example hosts, paths and identifiers with the assessment scope; configuration and source fragments are illustrative.

Remediation / Fix Guidance

  1. Investigate and change: Inspect the reported CAPTCHA/reCAPTCHA and lockout settings in Admin Security and the actual authentication mode. Configure a supported challenge or bounded failed-login count with a positive lockout duration; avoid permanent lockout policies that enable denial of service.
  2. Validate the change: Use a designated staging account to verify repeated failed attempts trigger the configured protection and that legitimate recovery still works.
  3. Recheck MB-0011: Read back the effective setting or role/runtime state from the same source used by the check, then test the affected authentication, application or integration flow in staging. A changed file alone does not establish that the production worker uses it.

Examples

Illustrative examples only. Interpret them within the current revision criterion above; missing collection evidence is unresolved, never PASS.

Fail Example

No backend_login CAPTCHA is enabled and lockout_failures = 0.

Pass Example

lockout_failures = 5 and lockout_threshold = 30; the native lockout branch is configured.

Scope and Evidence Limits

Rule revision: 3. Target modes: LOCAL.

Default-scope Magento admin login configuration enables native CAPTCHA for backend_login, recognized backend_login reCAPTCHA, or a positive lockout failure limit at most 10 with a positive lockout threshold. Locked env.php/config.php settings precede core_config_data. Custom authentication enforcement and runtime effectiveness require separate evidence.

Default-scope Magento admin login configuration enables native CAPTCHA for backend_login, recognized backend_login reCAPTCHA, or a positive lockout failure limit at most 10 with a positive lockout threshold. Locked env.php/config.php settings precede core_config_data. Custom authentication enforcement and runtime effectiveness require separate evidence.

Catalog coverage describes implementation capability, not a scan outcome. An incomplete manual review cannot establish that the criterion is satisfied.

References