Overview
The observed HTTP storefront root redirects directly with 301/302/303/307/308 to same-host HTTPS. Admin and other store entrypoints are assessed separately.
Why it Matters
An initial HTTP response can expose or alter traffic before a browser reaches a secure page. A direct redirect removes an unnecessary cleartext application response at the assessed entrypoint.
This observation covers the named storefront root; Admin routes, other stores and HSTS remain separate controls.
Verification Steps
Manual Verification
- Request the storefront root without following redirects.
- Check for a supported redirect status and a Location pointing directly to same-host HTTPS.
- Repeat for other store entrypoints under their own scope.
Command / Review Sample
curl --max-time 10 -sS -D - -o /dev/null http://store.example/
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
- Investigate and change: At the actual TLS termination layer configure the HTTP storefront entrypoint to redirect directly to its canonical same-host HTTPS URL. Correct Magento secure base URLs and proxy scheme forwarding so the origin does not create redirect loops.
- Validate the change: Request the reported HTTP URL and inspect the first Location header and HTTPS response; test checkout and login behind the real proxy.
- Recheck MB-0026: Repeat the same read-only request from the scanner after deployment and compare the effective response, including redirects and edge caches. Test the affected storefront, Admin or checkout behavior in staging before rollout.
Examples
Illustrative examples only. Interpret them within the current revision criterion above; missing collection evidence is unresolved, never PASS.
Fail Example
HTTP / serves a successful page or redirects first to another HTTP URL.
Pass Example
HTTP / returns 301 with Location: https://store.example/
Scope and Evidence Limits
Rule revision: 4. Target modes: LOCAL, REMOTE.
The observed HTTP storefront root redirects directly with 301/302/303/307/308 to same-host HTTPS. Admin and other store entrypoints are assessed separately.
The observed HTTP storefront root and declared backend.frontName entrypoint redirect directly with 301/302/303/307/308 to same-host HTTPS. This is an entrypoint probe, not a universal guarantee for every deployment route.
Catalog coverage describes implementation capability, not a scan outcome. An incomplete manual review cannot establish that the criterion is satisfied.