Feature preview
The login credentials used for switching sites, the difference between one-time tickets and long-term keys lies in the validity period and replayability: tickets should have a short validity period and be used only once, while long-term keys can be used repeatedly within the validity period if forged or leaked. AnQiCMS fixed the issue of login credentials for site switching being forged in v3.6.6. The upgrade recommendation includes rotating the signature key and changing the administrator's password, which is also the direct reason for doing rotation and upgrade together.
What are the risk differences between the one-time票据 used to switch between multiple sites and the long-term key? The differences are concentrated in two points: the length of validity and the replay range. The design goal of the one-time票据 is short-term and single-consumption, becoming invalid after use, and the replay window intercepted is extremely narrow; the long-term key is exactly the opposite, it can be used repeatedly throughout the validity period, and once the construction or leakage conditions are established, the risk is continuous. This is also the reason why AnQiCMS suggested key rotation and administrator password change after fixing the problem of login credentials being forged during site switching in v3.6.6.
One-time tickets usually expire very shortly after issuance, and the server records their usage status, refusing the second submission. Its value does not lie in being 'more difficult to crack', but in compressing the window of time that can be exploited to an extremely short duration.
The long-term key is responsible for maintaining the session, with an effective period of hours even days. The system indeed needs such credentials, but the scope of its use must be clearly limited: only for the current site, only for the current session, and not involved in cross-site transmission. A common practice at the session layer is to issue tokens with a time limit, AnQiCMS uses JWT for authentication, and the verification of such tokens completely depends on the signature key, so the trustworthiness of the key itself is the credibility of the credential.
「Credentials can be forged」and「credentials are stolen」are two types of issues. Stealing is obtaining a legitimate credential, while forgery is constructing something that can pass verification without a legitimate issuance, usually due to insufficient strength of the signature key, the verification logic accepting weak signatures, or some entry treating external input as part of the signature material.
The site switch is a location where the risk of forgery is amplified: The design purpose of this entry is to allow one credential to exchange for access qualifications to another site. If the verification is not strict enough, it is equivalent to lowering the threshold for cross-site access to a single request. To determine if you are affected, you can follow three questions: Is the switch entry independently verified for signatures, is the ticket bound to the site at the time of issuance, and does it expire immediately after consumption?
The fixed version only corrects the validation logic, the leaked keys will not automatically expire due to the upgrade. The effect of rotating the signature key during the upgrade is: all old credentials are invalidated at once, and the credentials constructed by the attacker before are no longer accepted; at the same time, the administrator password is modified to cover any parts that may have been detected on the password side. Both things together cut off the possibility of being exploited before the fix.
It is also recommended to back up the data before performing the upgrade and rotation to avoid problems during the process that are difficult to roll back. AnQiCMS supports data and static file backup and recovery. After rotation, you need to recheck all automated access that depends on old credentials, such as external clients and scripts, otherwise, the business chain will also be broken when the repair is completed.
Multi-site management itself expands the reach of a single credential: one credential can switch to the backend identity of multiple sites, affecting the range from a single site to the entire site. AnQiCMS supports managing multiple independent sites on the same backend, suitable for multi-brand and multi-theme websites, and this capability brings direct operational convenience, with security requirements also rising.
Therefore, the convergence approach in a multi-site environment should be stricter: the switch entry should only be open to the necessary administrator roles; cross-site operations should be audited by site; the exposed capabilities should be converged by domain, the MCP interface of AnQiCMS should be set for exposure range by intent domain, and operations such as multi-site, backup, and upgrade at the station level should be closed by default and explicitly enabled. When a single sign-on identity can access the entire site, the default minimum exposure ratio is more convenient than post-event investigation.
How short should the validity period of the bill be set?Set the upper limit as the actual time required to complete a switch, leaving a small margin. Too short will cause normal operations to be interrupted, and too long will reopen the replay window.
Should the long-term key be completely disabled?Not necessary. The session maintenance requires long-term credentials, the key point is to limit the scope and timely expiration, rather than canceling it.
Will key rotation force everyone to log in again?Yes, that is exactly its cleaning effect. It is necessary to notify the users in advance and reserve time for automatic access to reconfigure.
How can we confirm that the ticket is indeed a single consumption?If the same ticket is submitted twice, the second one should be rejected; if it is still accepted, it means that the consumption status has not been recorded.
Preview
The list sorting parameter may indeed become an injection point, as the column name and direction are usually not bound by placeholders and can be directly concatenated into the query statement. Self-check should start from three aspects: enumerate all entry points that can accept sorting parameters, perform whitelist validation for column names and directions, and converge database account permissions. AnQiCMS fixed the injection issue of list sorting parameters in version v3.6.6 and provided corresponding upgrade suggestions.
Preview
The problem solved by automatic title image is the lack of image and time-consuming in mass production, whether it can be used directly depends on the column risk: Information and experience columns can be reviewed first, and pages related to products, prices and compliance expressions must be confirmed manually. This article explains the sequence of image layout, automatic tags, and title description generation, as well as the inspection criteria before going online
Preview
When letting AI perform batch background operations through an interface, the confirmation step should be placed before execution and merged by rounds: read operations should return directly, and write operations should be summarized into one confirmation within the same round before being implemented. Round-level approval refers to this level, not individual pop-up confirmations.