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

📅 2026-10-13 👁️ 12

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.

Related articles

AnQiCMS - AnQiCMS v3.6.6 Update Log (Merged v3.6.5)

v3.6.5 and v3.6.6 merge update instructions: MCP tool layer rebuilt according to intent directory and supports round-by-round batch approval, adds features such as email subscription, message list, and base64 attachment upload; fixes two high-risk security issues that can be injected into list sorting parameters and forged login credentials between sites, and fixes multiple issues such as incorrect deletion reports and silent data damage in documents. Please rotate TokenSecret and change the administrator password after the upgrade.

2026-10-08

AnQiCMS 2026 September update: AI visual editor, MCP support and multiple fixes

AnQiCMS was released on September 4, 2026, with a major update, adding AI visual template editor, MCP Server integration, reCAPTCHA captcha, automatic tags, template backup and replacement features, and optimizing AI assistant, translation search, JSON-LD, etc. At the same time, it fixed multiple bugs in AI TDK generation, writing count reset issues, and scheduler bugs.

2026-09-04

AnQiCMS v3.6.2 Update Log

Published on June 29, 2026 ✨ Added features: AI conversation system refactoring: multi-model switching (anqi-flash / anqi-pro / custom model), support for file attachment upload, AiSetting persistence of the last used model, refactoring of conversation session mechanism.AI Agent Intelligent Agent with scheduling tasks: Added AiAgent model (supporting Cron expressions, execution strategy, and number limits), AiAgentLog records execution status;Integrated robfig/cron scheduler, automatically loaded and scheduled Agent tasks at startup. Inbuilt 7 AI seed skills

2026-06-29

AnQiCMS - AnQiCMS v3.6.1 Update Log

Published on June 22, 2026 ⚡ Performance optimization 📦 Binary size reduced by 50%: By replacing the heavy SDK with native HTTP calls, the program size was greatly reduced (103 MB → 51 MB), reducing distribution and deployment costs.The support for multilingual and SEO multilingual top-level domains: Multilingual sites support using top-level domains as independent site domains. Sitemap optimization: Adjust the Sitemap generation logic to better meet Google's requirements for XML Sitemap format.Bug fix: Path traversal vulnerability fixed: Replaced black list with white list, enhanced template operation security. AI

2026-06-22

MCP tool layer reconstruction and email subscription, what to look for in the v3.6.5 update record.

AnQiCMS v3.6.5 released on October 7, 2026, the core changes are that the MCP tool layer has been rebuilt based on the intent directory and supports round-by-round batch approval, while also adding email subscription, message list, attachment base64 upload, template backup table expansion and file search wildcard capabilities. This article interprets the meaning of the changes item by item according to the update records, and provides a checklist of actions before and after the upgrade.

2026-10-13

v3.6.6 Upgrade checklist on the day: change the site signature key first or change the administrator's password first.

v3.6.6 (Released on 2026-10-08) fixed two high-risk issues of SQL injection in list sorting parameters and forged login credentials during site switching, the official upgrade recommendation is to rotate the site signature key and change the administrator password. The order of the day is: backup stop writing, upgrade program, rotate signature key, change administrator password, clear session and log in again, and finally verify list sorting and site switching.

2026-10-15

v3.6.6 security update details: fixed sorting parameter injection and credential forgery issues.

v3.6.6 was released on October 8, 2026, fixing two high-risk issues: SQL injection in list sorting parameters and the login credentials of site switching being forgeable. It is recommended to rotate the site switching key and change the administrator password to ensure system security.

2026-10-15

v3.6.5 adds detailed explanation of email subscription, message list, file search, and base64 upload features.

v3.6.5 was released on October 7, 2026, adding five new features: email subscription, message list, base64 attachment upload, template backup table expansion, and wildcard file search, solving pain points such as user retention, content interaction, resource management, and search efficiency, providing a complete backend operation tool for small and medium-sized enterprise websites.

2026-10-15