Cross-site request forgery appears on the backup sub-module, why can session credentials not prevent it?

📅 October 12, 2026 👁️ 14

Cross-site Request Forgery appears on the backup sub-module, why can't it be blocked just by relying on session credentials? Because this type of attack borrows a default behavior of the browser: every request made by a logged-in user automatically carries session credentials, and the attacker only needs to诱骗 the browser to make a request, and the credentials will follow.In the Drupal announcement SA-CONTRIB-2026-217 from October 2026, the backup sub-module of Advanced Filesystem was marked as cross-site request forgery due to insufficient validation of certain requests.The defense cannot be pressed on the credentials, but on the source of the request itself and the one-time credential.

How to read the cause and rating of the announcement?

This announcement rates the defect as moderately critical (Moderately critical), the fixed version is 1.0.28, and the cause is only one sentence: The backup sub-module did not perform sufficient verification for some requests.The thing worth looking at in the rating string is the attack complexity of Basic, with some impact on integrity——the attack threshold is not high, the main risk lies in诱导已登录管理员执行非本意的备份类写操作。The backup sub-module is worthy of being named separately because it naturally has the ability to read and write a large number of files. Once it is executed through an alternate path, the impact will exceed the module itself and affect the availability of the entire site's data.

Why can't session credentials block this type of attack?

The session credential resolves the question of 'Who are you?' and does not resolve the question of 'Whether this is the operation you truly want to perform.' Browsers handle cookies automatically: they carry them as long as the target domain matches, regardless of which page发起 the request.An attacker can send requests by constructing a hidden form or an image address on a page, and the server sees it as a So, to judge whether a write request is credible or not, one needs to look at information beyond the request: from which source is the request initiated, and whether there is a one-time action credential pre-issued by the server.These cannot be provided by the credentials themselves, and they are also common gaps in cross-site request forgery defects.

What does each of the three commonly used verifications block?

The source verification: Check the source information in the request header for same-origin with the target, block requests from external pages, low configuration cost, but it needs to cover all entry points to be effective.The second layer is a one-time ticket: write operations require carrying credentials pre-downloaded by the server, used and discarded, attackers cannot obtain future request tickets, and forged requests will not pass even if sent.The third step is human confirmation: introduce a secondary confirmation or captcha for high-risk write operations, AnQiCMS supports the integration of reCAPTCHA captcha into the form to prevent robots, and add another human gate for high-risk actions.The three are not mutually exclusive: Source verification and one-time tickets are basic configurations, and verification codes and manual confirmation are overlaid according to the sensitivity of the operation.

What can the site side do to seal off?

First, reduce the reachable range of the backup entry: Backup and recovery are part of the whole station-level capability, the access should be limited to the management end, and not mixed with public functions. Furthermore, follow up on the system itself: Similar issues have also appeared in mature systems, AnQiCMS fixed the high-risk issue of login credentials for site switching being forgeable in v3.6.6, and the upgrade instructions also suggest rotating the site key and changing the administrator password - such release notes are worth reading item by item, as the fixed items are often the locations that attackers have already targeted.The habit of keeping backups in the end: Even if the protection is done perfectly, do a full backup before performing high-risk operations. This is the bottom-line protection at the action level when problems occur.

Common questions

Question: Is it enough to do source verification only on the back-end entry?Answer: Not enough. The verification must cover all write entries; any missing sub-module will become a bypass point. This announcement is specifically targeted at backup sub-modules and other peripheral entries.

Ask: Can I choose one between one-time tickets and verification codes?Answer: They block different things: tickets block forged requests, and verification codes along with manual confirmation block automated abuse; it is recommended to use overlapping configurations for high-risk operations rather than choosing one or the other.

Ask: How can a regular site determine if it has been exposed?Answer: List all write operation entry points and confirm one by one whether there is source verification or one-time credentials; an incomplete list itself is a risk signal.

Related articles

The interface for saving data did not check the login status, to what extent will the visitor-level account be built?

Joomla announcement CVE-2026-90907 shows that the data saving controller can be used to create unauthorized guest-level users when the login status is not checked. To assess the impact, consider three things: whether it can create accounts in bulk, which user group the account falls into, and what permissions the group can reach. The three audit points of interface authorization: confirm the login status for each interface, verify the default group of the new account, and raise the cost of bulk abuse by publicly entering a verification code.

2026-10-12

When the email template does not have an escape mechanism, the content filled in behind the scenes will be executed in which link.

Joomla announcement CVE-2026-90918 points out that the email template function lacks an escaping mechanism, leading to multiple extensions appearing cross-site scripting vectors. The template output and page output share the same escaping requirement, and background input items, collected content, and user submitted content are all injection sources; the sensitive word filtering and content review on the writing side cannot replace the escaping on the output side, and the two levels of security should be configured separately.

2026-10-12

The action of clearing the cache can delete any directory, what kind of problem will arise when a piece of name is spliced into the path.

Joomla announcement CVE-2026-90915 shows that the lack of validation of the cache group name can lead to path traversal, and clearing the cache can then delete any directory. This article analyzes the cause of the name being拼 into the path, and provides a review list of cache, upload, and backup three types of path splicing positions, and explains the complementary actions of input whitelist, root directory limitation, and backup before operation in addition to upgrading.

2026-10-12

How should the announcement handle the defect type written as no longer supported, and what should be done when the affected version is all inclusive?

The type of defect is written as no longer supported, and the affected versions are all security announcements, meaning the project has been abandoned by the maintainer, there will be no fix versions, and the official recommendation is to uninstall instead of upgrade. This article takes the Drupal October 2026 announcement as an example to explain the reading and handling order of such announcements: confirm the scope in use, backup first, disable modules, and look for alternatives.

2026-10-12

The root area key was switched on October eleventh, what check does the site owner actually need to do?

The root zone key switch does not affect the website, but the trust anchor at the top of the validation chain. The actual check that webmasters need to do is only one step: confirm that the recursive resolver used by the site has trusted the new root zone key signing key KSK-2024 by October 11, 2026. According to the official stance, most site operators do not need to make any changes, but the three types of environments that are easily overlooked are self-built resolution, enterprise internal networks, and long-term unupdated basic images.

2026-10-12

The visibility of the generative engine is inconsistent in two measurements of the same content, where is the difference?

The visibility of the generative engine is inconsistent when the same content is tested twice, and the differences are usually in the measurement scope rather than the content itself. The visibility score aggregates the appearance, citation, and brand mention of the source in the answer, the prompt word library determines which situations are counted, the weight determines the relative importance of these situations, and both together define an answer market, which does not equal the real user needs. The scope should be fixed before comparing the scores.

2026-10-12

Will the reference rate measured by a single round of questioning still apply in the scenario of multi-round追问?

The citation rate measured in a single round of questioning may not hold in the multi-round follow-up scenario. Single-round evaluation treats a single response as a complete object, while in multi-round dialogue, there is a phenomenon of session capture: the probability of a source being cited in an early round and then continued to be cited in subsequent rounds is significantly higher. Evaluation should look at the entire trajectory, and on the content side, follow-up questions should be treated as writing units.

2026-10-12

Will the differences between sites become smaller when everyone keeps modifying the content according to the reference rate?

They will converge. When visibility and ranking become the sole optimization goal, repeatedly modifying the content according to the reference rate will make the differences between sites smaller, which is exactly the mechanism of reshaping the content ecosystem when ranking is treated as the sole target. Differentiation depends on self-owned data, real cases, and structured content models, rather than repeatedly modifying the same batch of templates or collecting others' content in bulk.

2026-10-12