Overview
The deployed configuration declares session.save as redis and session.redis.password as a nonempty string. This checks the configured authentication declaration; it does not prove server ACL, network isolation or credential validity.
Why it Matters
A session store contains authentication state and deserves an explicit access boundary. A missing authentication declaration can reveal a gap in the chosen Redis configuration policy.
The configured value alone does not prove that Redis requires authentication or that its network and ACL policy are appropriately restricted.
Verification Steps
Manual Verification
- Inspect only the session.save value and whether session.redis.password is a nonempty string.
- Avoid printing the secret.
- Separately check server authentication, network policy and successful session operations using approved access.
Command / Review Sample
php -r '$c = require "app/etc/env.php"; echo ($c["session"]["save"] ?? "<missing>"), PHP_EOL; echo !empty($c["session"]["redis"]["password"]) ? "password configured" : "password missing";'
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
- Review the exact declared backend/key in app/etc/env.php against the intended deployment baseline. If Redis is used, verify authentication and network/ACL access separately before changing the backend.
- Test cache/session correctness and effective access with the deployed worker configuration. A declaration alone does not prove runtime enforcement.
- Rerun MB-0040 against the same release, profile and relevant file/key/package scope; compare the new evidence and inspect any independent collection gaps.
Examples
Illustrative examples only. Interpret them within the current revision criterion above; missing collection evidence is unresolved, never PASS.
Fail Example
session.save = redis but the declared Redis password is empty.
Pass Example
session.save = redis and a nonempty authentication string is declared; server-side enforcement is verified separately.
Scope and Evidence Limits
Rule revision: 3. Target modes: LOCAL.
The deployed configuration declares session.save as redis and session.redis.password as a nonempty string. This checks the configured authentication declaration; it does not prove server ACL, network isolation or credential validity.
This check covers only the collected observation. Missing collection scope, external controls and runtime behavior require separate evidence.
Catalog coverage describes implementation capability, not a scan outcome. An incomplete manual review cannot establish that the criterion is satisfied.