After changing the jump login to a one-time ticket, which step of the O&M process needs to be changed?
After changing the login jump to a one-time ticket, the next step for the operations team to change is credential management: replace the long-term credentials dependent on the old link and confirm their invalidation, while also redrawing the exposure range of login-related configurations. Only upgrading the program without changing the old credentials is equivalent to leaving the entry that can be forged in place. AnQiCMS v3.6.6 fixed two high-risk issues: SQL injection in list sorting parameters and the forgery of login credentials when switching sites. The upgrade recommendations clearly require the replacement of site signature keys and the modification of the administrator's password, and these two actions belong to necessary steps outside of program updates.
What does the one-time ticket change?
The risk of the old method is that the credentials are valid for a long time: once leaked or the format is inferred, the holder can construct a login state accepted by the system at any time. After changing to a one-time ticket, the credentials are only available for a short period of time and become invalid after use, reducing the attack surface from 'can be used for a long time after obtaining' to 'must be intercepted in real time'. This change is transparent to the user, and the user still accesses the backend through the same entry.
The three steps that must be supplemented after the upgrade
- To rotate the certificate of the issuing chain. All signature configurations related to this chain must be updated, and old values cannot be carried over; the rotation records must indicate the time, executor, and scope.
- Modify the administrator's password and check for shared accounts. Especially in multi-site management scenarios, it is particularly important to confirm that the same set of login credentials is reused between multiple independent sites, which will amplify the consequences of a single point being stolen.
- Converge the sources and targets that can be redirected. Exclude roles that do not require cross-site login from this chain, reducing the opportunity for tickets to be transferred.
The regression test scope needs to be redrawn.
After the login link has been changed, just testing whether you can log in is not enough. At least four scenarios should be covered: normal entry jump, the behavior after the ticket expires, the repeated use of the same ticket, and whether the visibility range of background permissions and user groups is still effective according to the VIP group and permission settings. Under multiple sites, the switching behavior of each site should be verified separately, because site switching is the point of action for this kind of change.
The entry points involving forms and comments should also be retested: changes can easily affect the submission behavior when the configuration of the gateway side is shared with the login link, such as reCAPTCHA and similar verification measures.
The four details that need to be changed in the operation and maintenance process
- Change record: Change the credential rotation from 'do conveniently' to an action with a ledger, and write the reason for the rotation from which version of the repair.
- Duty judgment: When a login exception occurs, first distinguish whether it is a problem with the program version or the voucher has expired, to avoid unnecessary rollback.
- Permission review: After the rotation, reconfirm the number of administrator accounts and the division of user groups, and delete the accounts that are no longer needed.
- Rollback preparation: Leave a recoverable backup point before the change; if an exception occurs after the rotation, it can roll back the program and configuration at the same time.
Common questions
Is it okay not to rotate the old voucher?Not allowed. As long as the old credentials can still be used to construct the login state, the risk of forgery remains, and simply updating the program does not eliminate this risk.
Will a one-time ticket affect the normal login experience?The normal path is seamless; abnormal performance is mainly when expired or reused, a clear re-login entry needs to be provided.
How to arrange the order in a multi-site environment?First verify the rotation and regression in the test site, then proceed station by station, record each station separately, and avoid affecting multiple sites at the same time with one change.