You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(security): use a high-entropy random key for security-mode disable
The unauthenticated ?wu_secure=KEY query string that turns the network-wide
recovery "security mode" off used substr(md5(admin_email), 0, 6) as the key —
only ~24 bits and derived from a commonly public/guessable value, so an attacker
could compute or brute-force it and remotely disable the admin's safe-mode
lockdown.
Generate a 128-bit random key once (random_bytes, since this runs from sunrise
before pluggable.php) and store it as a network option, and compare it with
hash_equals(). The key is already displayed on the settings screen, so the
documented "copy this URL to disable security mode" workflow is unaffected.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(security): preserve legacy security mode recovery URL
* ci: guard e2e cleanup before checkout
* fix: address security mode review feedback
---------
Co-authored-by: vuckro <maribel_waters@howtocore.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments