Can the deletion and status switching interfaces on the back-end be accessed directly through the browser to trigger?

📅 October 9, 2026 Eye 10

If the interface for deleting a piece of data or switching a status in the background is allowed to be accessed directly through the address, the risk does not lie in the literal meaning of 'interface exposure', but inAny click with a login status can become an execution. This version fix of the peer open source program is exactly this: The background user delete and status switch interface can be triggered by a bare GET request to carry out cross-site request forgery. The repair method is to change it to POST submission and verify the form identifier. This kind of repair is worth every website builder to check self once.

What kind of interface will be triggered directly by the browser

Interfaces that meet two conditions are in this category: first, it can be accessed through the address bar, which means there is no distinction between request methods; second, it will change the data, such as deleting, enabling and disabling, approving, and moving to the recycle bin.

A dangerous combination appears here: The administrator logs in without logging out, and the login state remains in the browser; at this time, he opens an article sent by someone else, an image address, or an automatic request embedded in the page. The request arrives at the back-end with his identity, and the server sees that a 'logged-in administrator is performing a delete', unable to tell that this is not something he initiated himself.

Why is the login state itself dangerous enough

The backend authentication usually relies on session credentials: after a successful login, a credential is issued, and all subsequent requests carry it. In the implementation of JWT and other signed token technologies, the credential itself does not need to be checked again for the password, as long as the signature matches. This brings a feature ofWhether the credential has been borrowed cannot be seen from the authentication step.

Therefore, the real defense line cannot only be placed on 'whether there is a login', but also on 'whether this action is initiated by the user on this page'.

What do request methods and one-time verification block

The two things solve two problems:

Closing methods The scenarios blocked The scenarios that cannot be blocked Judgment basis
The action to change the state only accepts submission methods, not direct access Automatic requests and placeholder image requests inserted into the page The attacker诱导诱导users to actively submit forms Whether the interface distinguishes methods
Verification of one-time form identifiers Cross-site initiated write operations Advanced construction after obtaining the page content Whether the verification value is bound to the session, whether it can only be used once
Credentials set with a short validity period Login state is borrowed for a long time Abuse within the validity period Expiration time and refresh strategy
High-risk interfaces are closed by domain The capability not needed is called externally Misuse of the enabled capability Default whether to open

Using **item alone will be bypassed, and using the second item alone will also be the same; both items must be used together for the 'modify data' action to require a value that an attacker cannot obtain from their own page.

How to close the mouth at these two places on our back-end

The security capabilities within the station are configured in layers: authentication uses signed tokens, the interface layer converges exposure range according to intent directory, operations such as backup, upgrade, and multi-site are default closed at the station level, and need to be explicitly enabled to be callable externally. Write operations also support round-level merge confirmation, and a list of changes to be made in a batch operation must be provided first, and confirmed before it is implemented.

Version level also has a counterpart. v3.6.6 fixed two issues, one is the injection caused by the list sorting parameters being spliced into the query statement, and the other is that the login credentials used for site switching can be forged. The former belongs to 'parameters went into the query', and the latter belongs to 'the validity period and usage of the credentials are set too broadly'. These two and cross-site request forgery are actually three aspects of the same type of problem:Do not leave anything that can be borrowed to be guessed by the outside.

Self-check three steps: list, method, verification

Step **, pull a list of all actions that modify data in the background, and divide them into three groups: 'delete class', 'status class', and 'import class'. Step two, confirm whether each action can be triggered directly through access; any action that can be triggered must be changed. Step three, confirm whether each action carries a session-bound validation value, and whether this value is used and then discarded.

Add an operation and maintenance specification: after the repair, the signature key should be rotated and the administrator's password should be changed, because the solution to the narrowing of the attack surface is for the future, while the solution to whether the credentials have been leaked is for the present.

Common questions

Question: Is it okay to just change the background address to an unpredictable path?Answer: Not enough. Address obfuscation does not change the fact that 'requests with login state will be executed', and writing the backend path into public files like robots.txt反而exposes the entry point.

Question: Is there a risk if the interface only does queries?Answer: The nature of the risk is different. The query interface needs to prevent unauthorized reading and injection, and the modification of data needs to prevent it from being borrowed to initiate, the two need to be checked separately.

Question: Can throttling and captcha replace these two?Answer: No. They reduce the efficiency of batch attempts, but a successful forgery does not need to be tried multiple times.

Related articles

When submitting links in bulk to search engines, how many can be sent at one time and how often can they be resubmitted

When submitting links in bulk to search engines, the cross-engine submission channel allows for the inclusion of tens of thousands of addresses in a single request, while the site map is split according to the single-file limit; when a link is frequently updated, a minimum retransmission interval should be left, usually in minutes, to queue. Before submission, confirm that the domain ownership verification has passed, and place the key or verification file in the root directory of the site or a publicly accessible location on the same host, otherwise the entire batch will not be accepted.

2026-10-09

Why is the order of handling different for two vulnerabilities that are both 9 points?

Two high-risk vulnerabilities with the same rating, the order of handling is different because the score is calculated from the combination of indicators, the same score can correspond to completely different trigger thresholds and impact ranges. When reading the rating, you should look at how the score is calculated, whether you need to log in, and whether it affects confidentiality or availability, and combine it with the order in which your own uses it to decide.

2026-10-09

Announcement title mentioned maintenance and security, where to check the security part on which page

When the title of the version announcement mentions maintenance and security at the same time, the specific content of the security repair is usually not in the main text of the news homepage. You need to go to the corresponding release page according to the classification column to verify the repair items and affected versions; the follow-up actions are divided into three steps: confirming the version range, judging whether to use related capabilities, scheduling the maintenance window and rotating the credentials as suggested.

2026-10-09

Can the number of tables and code volume written on the homepage of the official website judge the weight of the program?

The number of data tables and code volume marked on the homepage of the official website can be used to judge the program's resource occupation of the server: these two are structural indicators, indicating complexity and package size, which are not equal to the memory and concurrency performance at runtime. What really needs to be compared is the memory aperture and single-machine carrying capacity of the same technology stack.

2026-10-09

Will the data files in the site directory be directly downloaded, and at which layer should it be blocked during deployment?

If the database files, backup products, and logs in the site directory fall into a publicly accessible path, they can indeed be directly downloaded because the Web server defaults to returning requests that match files as static content. Interception should be divided into two layers: adding denial rules to the data directory at the deployment layer, and ensuring that backup and temporary files are not generated in accessible paths at the application layer. Both should be done before reviewing the default port exposure surface according to the list.

2026-10-09

The authorization signal between content and AI, to what extent can it be expressed now?

The site expresses the scope of authorization for AI crawling at present, which has two layers of signals: exclusion rules based on paths and authorization statements based on purpose. The exclusion rules can specify which paths should not be crawled, but cannot clarify whether the same content can be used for training; the signals split by purpose can express separately for search, proxy access, and training, with granularity fine enough to set default values based on page conditions. The robots settings and the generation of explanatory documents for models are responsible for these two configurations inside the site.

2026-10-09

In one day, more than twenty module-level announcements are released simultaneously, what should be the order of handling?

When releasing more than twenty module-level security announcements at the same time, the handling order cannot be solely based on the rating. The available methods are to multiply the rating by 'whether I have installed this module or not': uninstalled modules can be closed directly, and for installed modules, you need to look at whether the exposed surface is a public web page or an internal background page, and then consider the rating level and whether there are available patches. The default operation interface at the site level is closed, which naturally excludes the capabilities that need to be explicitly enabled from the list of targets that can be attacked on that day.

2026-10-09

Why is the remote screenshot interface used to probe the internal network, and what should be blocked when importing images

The function of fetching remote images by address is essentially for the program to access an address on behalf of the initiator. If the target address is not constrained, it can point to an internal network service, which is the cause of server-side request forgery. The reinforcement needs to be done in four restrictions: connection timeout, response size limit, verification of the parsed address and internal network address interception, and re-verification after following the jump; the two links of batch import and content collection are only effective when using the same set of value boundaries.

2026-10-09