The back-end login port is repeatedly attempted, what else can be done besides changing the access address?
When the back-end login address is repeatedly attempted to log in, changing the access address only reduces the passive exposure, the real way to reduce the probability of success is another three layers of control: identity and token management, automatic submission interception, and high-risk operation domain switching for automated tools. Taking AnQiCMS such a back-end as an example, the login itself uses JWT-type token authentication, so whether the password guessing probe can become a continuous access depends on the token issuance and expiration strategy, not on which directory the address is written.
How long can changing the access address block
The effective part of replacing the entry address is to block the probing behavior of bulk scanning along common paths. However, there are not only one path of address leakage: browser history, access logs, source references, third-party statistical tools, or mistakenly sent to chat screenshots, all of which may bring it back into the public view. Therefore, the positioning of this move is to reduce passive exposure and cannot be used as identity protection.
What truly needs to be distinguished is two things: whether the password has been guessed and what level of operation can be performed after it is guessed. The second thing has a greater impact and is more often ignored.
What needs to be changed at this level of identity and token?
The risks of token-based authentication are concentrated in three areas: validity period, expiration conditions, and issuance scope. After logging in, the specific items to check are: whether the old token will expire immediately after logging out; whether the administrator's credentials are still the one set in the installation wizard; and whether the credentials used to switch between multiple sites are a long-term valid key or a one-time ticket.
The third item was treated as a high-risk issue in v3.6.6: The login credentials used for site switching can be forged, and the fix is to use one-time tickets. The same release also fixed the injection issue where the list sorting parameters were拼进 query statements. After the upgrade, the corresponding action is to rotate the old keys on the token side and change the administrator password, failing to rotate after the upgrade is equivalent to leaving the old credentials in a usable state.
The automated submission should be blocked by the captcha.
The cost of password guessing trials is extremely low because it is programmatically submitted. After leaving messages, comments, and registration entries are connected to reCAPTCHA verification code, batch submissions are blocked at the entry; only for login, not for registration, the script will immediately change course.
The granularity of switches should be divided according to 'write actions' rather than by pages: any place where external data can be submitted and result in an entry should be judged whether it needs to be verified.
High-risk capability switch on the interface side
The current content management system generally opens the background capabilities to external AI clients through interfaces such as MCP. Pay attention to this level of exposure: operations such as backup, upgrade, and multi-site management are defaults closed, and need to be explicitly enabled to appear in the callable range.
This default orientation is intentional - a single incorrect operation can affect the entire site. When batch processing is needed, open according to purpose, close after processing, while keeping the confirmation link of write operations, and do not skip the approval just for the smooth operation of the script.
What order to deal with after trying
| Level | What kind of behavior is blocked | The corresponding capabilities within the site | Typical consequences of correcting errors |
|---|---|---|---|
| Exposure surface of entry | Batch scanning according to common paths | Background access address setting | No longer checking the strength of credentials due to perceived security |
| Identity and token | Continuous access after guessing the password | JWT authentication, one-time ticket, validity control | Loosening the verification and reporting error when changing the feet, unable to recover later |
| Automated submission | Programmed high-frequency attempts | reCAPTCHA verification code, frequency restriction | All-site verification, normal users are repeatedly interrupted |
| Interface capability level | Automated batch operation at the whole-site level | High-risk domain is closed by default, round-level confirmation | Always open for a long time, one token leak affects the whole site |
| Post-disaster handling | Loss expansion from the intrusion that has already occurred | Backup and recovery, credential rotation | Only the database is backed up, and the restored one is an empty shell |
The disposal sequence is recommended to be fixed in five steps: first, confirm whether there is a successful login record, then change the administrator credentials and token side key, then tighten the verification code and frequency, then verify whether the backup can be restored, and finally review the proxy layer and deployment configuration. The backup should cover the two items of data and static files, and when only the database is backed up, the uploaded materials and templates are not included.
The deployment layer will also have two additional checkpoints
The program-side configuration is correct, but it does not mean there are no other exposed points on the chain. When deploying through the Baota panel or Docker image, and listening to the default port 8001 with reverse proxy, it is necessary to confirm two additional things: whether the proxy layer is passing the source address to the background accurately, otherwise the number of attempts in the log will be counted on the proxy machine; whether the certificate and redirection allow the old address to bypass the entry settings and access the login page.
Common questions
The login log is full of failure records, does this mean security? It can only mean that it has not been hit yet. It is necessary to see if there are any successful records, whether the source is concentrated in a few addresses, and the time span of attempts to these addresses.
How many password changes and token key rotations need to be done? Both should be done. The former prevents the use of old passwords to continue entering, while the latter prevents the use of old tokens that have already been issued. These two things do not cover the same risk surface.
Should we just turn off the background access to the outside? Judge according to the purpose. If there is a mobile end or an automated process that needs to call the interface, turning it off will affect the business, and a better approach is to close the high-risk areas and limit the entry to necessary address segments.