A version update fixes sorting parameter injection and the possibility of login credentials being forged, why should the key be changed at the same time
v3.6.6 This version update fixes two high-risk issues: SQL injection formed by combining list sorting parameters into the query statement, and the login credentials used for switching between multiple sites can be forged. The official upgrade suggestions also require the rotation of site signature keys and the modification of the administrator password. Many administrators are puzzled: if the program has been upgraded, why do we still need to change the keys? The answer is a simple sentence - the upgrade closes the door for 'being broken in like this' again, it can't control 'people who have already made the key', and the credential rotation is just for the latter.
What do the two high-risk issues affect separately?
The risk of sorting parameter injection lies in the data. The list page is sorted by time and popularity, and parameters such as sorting fields and directions come from the address or request. If the program combines it without verification into the query segment, the constructed request can change the intention of the query and read data beyond the boundaries. Its hidden place is that the parameters look harmless to humans and animals, and the daily access and attack traffic look very similar in the logs.
The risk of the site switching credential being forgeable is at the access boundary. When a back-end manages multiple sites, switching from Site A to Site B requires a 'proof of eligibility' credential; if the construction method of this credential can be calculated or forged, the attacker does not get a piece of content, but the operation position across sites. The severity of this problem is usually higher than that of a single-page data leak because it undermines the premise of 'who can come in'.
Repairing the entry is not the same as clearing the session
After the upgrade, the program processes new requests according to the fixed logic: the sorting parameters go through a whitelist check, and credentials are issued in a more secure manner - for example, using short-term valid, disposable one-time tickets instead of a fixed key that can be calculated in the long term.But for the existing stock risks, the upgrade itself does not do two things: first, if the vulnerability has been exploited before it is repaired, the login status and the modified configuration left behind will not be automatically restored due to the upgrade;The second is that credentials issued under the old signature mechanism and may have leaked out will not be invalidated out of thin air due to code updates. This is the difference between 'repairing the entrance' and 'clearing the session': the door is repaired, but the keys issued earlier still need to be individually invalidated.
What does this step of rotating the key prevent?
The site rotation signature key is equivalent to invalidating all credentials issued by the old mechanism at once: only credentials issued with the new key are recognized, and anything forged in the old way becomes invalid from the moment the rotation takes effect.The administrator password change is for a different line—the password as a type of credential, once leaked, still works before it is changed, and immediately becomes invalid after it is changed. Both actions have a cost of minutes, but the benefit is to turn the unanswerable question of 'whether it has been leaked in history' into 'leaked but no longer valid'.This is why the upgrade suggestion of v3.6.6 proposes to list them together: fix the code to solve the cause, and change credentials to clean up the consequences.
The three steps of upgrading the window
In order to place actions in the same window sequentially: first, perform a data backup (including static files), if the upgrade encounters problems, you can roll back the entire thing, which is the first step for any secure version update;After completing the upgrade and confirming that the version number is in place, immediately proceed with the key rotation and administrator password change, and while doing so, check two things - whether there are any traces of custom code for list sorting parameters, and whether there are any unrecognized administrators in the background account.At the end of the window, compare the abnormal requests before and after the upgrade in the access log to confirm that there are no lingering sessions still active. The entire action is completed, and the fix is considered closed, not just that the program files have been replaced with the new version.
Common questions
Question: Can it be okay to only upgrade and not rotate the key?
Answer: The technical entry has been blocked, but the certificates issued under the old mechanism and possibly leaked are still valid. The risks have not been cleaned up properly, and the official suggestion is not to execute it separately.
Question: How can you tell if the site has been exploited by sorting parameter injection?
Answer: Focus on reviewing the abnormal access records of the background and list interfaces: unconventional parameter forms, batch retrieval, and abnormal data requests, compare the differences before and after the upgrade.
Question: With a large scale of multiple sites, will the rotation affect the online business?
Answer: The rotation mainly affects the re-issuance process, online sessions are handled according to the mechanism of each site, and it can be scheduled to be executed during the off-peak window.
Ask: What is the relationship between this repair and the built-in JWT, interference code, and other protections?
Answer: Those are routine defenses, and this time is a repair for specific causes; they do not replace each other, and all defenses will function normally after the upgrade.