The backup migration plugin was affected by a second injection, how to collect the attack surface in the import and export process?

📅 2026-10-15 👁️ 16

The backup migration plugin was disclosed for a second SQL injection event, which is worth a second look by the site owner: The three pieces of information in the announcement are not light - trigger does not require login, hidden in the archive recovery function, rated 8.8.All-in-One WP Migration and Backup affected versions up to 7.109, fixed in 7.110, millions of installations.The trouble with SQL injection is that malicious content is first stored in the database, and then pieced together and executed when it is restored or read, while importing and exporting such 'trusted channels' are exactly the most easily overlooked entry points.The attack surface can be arranged in three steps: entry verification, parameterized execution, and backup file management.

The three key information in the announcement

The first is the trigger condition: Unauthenticated access means that the attack surface is hanging on the public path, independent of any backend account. The second is the location: The vulnerability is in the archive recovery function, that is, the section of 'restoring the backup'—almost all sites treat backup recovery as an internal action, rarely treating it as an external interface with protective measures.The third is the version range and the fix version: affected by versions 7.109 and earlier, fixed in 7.110, follow-up actions should be checked by version number, no need to wait for a second notification.These three combined form a typical pattern: low-frequency functions, high trust, publicly accessible, and the most easily overlooked in security reviews are these combinations.

Why is the second injection hidden in the archive recovery process

A single injection is input directly into the statement, both the defense and audit tools are watching the request parameters; a secondary injection is divided into two steps - first, store the dirty content in a legitimate form (write into backup archives, store in database fields), and then concatenate and execute when another function reads it.The scenario of archive recovery is 'reading historical data and trusting it': the recovery logic defaults to the content that was written in before, so it skips the escaping and parameterization processing of strings.To identify this kind of risk, the checkpoint is not 'does the entry have authentication', but 'which code paths consume historical stored data, and do they still treat input as input.'

The three channels that can be controlled in the import process

The first at the entrance: batch import function (supports ZIP compressed packages and Excel table formats such as archive formats) needs to verify the file ownership and operator identity, cooperate with request frequency control, and not allow anonymous access to the import port.The second layer in the execution layer: All queries拼凑 by imported data go through parameterized interfaces, implementing the principle of 'data is data, command is command' at the code level, which is an inherent defense against SQL injection and XSS attacks at this position.The third interface: Anqi CMS provides the /api/import/archive archive import interface, before batch writing, it first queries whether the title already exists to prevent duplicate imports and also makes the import action have a clear call interface for throttling and auditing, rather than scattered forms in the background.

Backup is not just backup without verification: recovery drill and static files

The other half of this event reminder is the backup itself. The backup range should cover data and static files, and the backup and recovery capabilities of Anqi CMS are designed according to this standard.But the backup file storage location must have access control - if the archive of the migration plugin falls into a predictable public path, it is equivalent to placing the 'material' for secondary injection outside.The recovery action needs to be practiced regularly: The practice not only verifies 'whether it can be restored', but also verifies 'which read and write paths the restoration process took', and these paths are exactly where secondary injection hides.The frequency of drills should be arranged once a quarter, what is important is to form a fixed rhythm of 'go through the recovery once, review the logs once.'

Common questions

Question: What should be done for the site that has not installed this plugin?Answer: Use it as a case study: list your own import and export feature list (backup, migration, archive recovery), check each one for authentication reachability, whether parameterized, this is more effective than focusing on a single CVE.

What is the difference in detection between second injection and first injection?The request audit cannot see it, the dirty content is legal at the moment of entering the database; detection should be placed on the path of consuming historical data, recovery, reports, and template rendering are all within the scope.

Can duplicate checking by title prevent injection in the import interface?Cannot prevent injection, but can narrow down accidental operations and repeated writing, making batch import auditable; injection defense relies on parameterized queries, and the two things should not be replaced by each other.

Related articles

There is a measurement that about half of the tested sites can provide a valid llms.txt, should the small station follow up?

A measurement of about 390 sites shows that about half of the sites can return a valid llms.txt, of which one quarter is written in an incomplete manner. Should we follow up on small stations? The basis for judgment is not the adoption rate but the maintenance cost: manual maintenance is easy to be out of touch with the real content, and using a content management system to automatically generate is the only way to persist.

2026-10-15

ChatGPT starts trial ads at the bottom of answers, how to reevaluate the traffic value of content sites?

ChatGPT tries ads at the bottom of answers in the free and Go tiers, not following up on the paid tier for now, starting in the US market first. After the commercialization of the Q&A entry, the traffic value of content sites should be reevaluated according to clicks, citations, and brand exposure; preparing the site description file llms.txt and other coordinating items is a cost-effective response method.

2026-10-15

How to use the performance report of the AI-powered Search Console that is now online, which only provides data on the number of views.

The Search Console's AI performance report shows the impression volume of the site in AI features by page, country, and device, does not provide click data; the配套 AI blocking control has taken effect since June 17, 2026. This article clarifies the usage of this read-only impression data: first establish a visibility baseline, then work with llms.txt and robots two authorization lines and content iteration, turn the report into a GEO work list.

2026-10-13

Google's September garbage update was completed in two weeks, which two places should be checked first for comments and anchor text within the site.

Google's September garbage update started on September 24, 2026, and was completed on October 8, lasting about two weeks and taking effect in all languages globally. The two garbage aspects of the site self-inspection are: flooding in the comment area and submission of illegal words, and keyword stacking in in-site anchor text and external links. This article gives the inspection sequence of the four built-in capabilities of content review, sensitive word filtering, reCAPTCHA captcha, and anchor text management.

2026-10-13

High risk alert for Baota panel involves command concatenation in backup, what should be followed up on the panel website building?

Baota panel (aaPanel) version 11.8.0 and earlier versions were disclosed to have a high-risk command injection vulnerability in database backup processing, with a rating of 8.4. The problem lies in the backup processing directly concatenating parameters into the execution statement. The follow-up sequence for panel website building sites is: verify the version range, tighten the panel entry exposure, decouple the backup capability from the panel task back to the site layer, and regularly practice.

2026-10-15

WordPress 6.9 updated the site editor and design tools, and when choosing a site-building option, you should pay attention to which items

The update of WordPress 6.9 focuses on the site editor, new design tools, and performance optimization. When choosing a site-building option, it should not follow the version announcement, but should check three sets of capabilities: whether to customize the structure with blocks or content model and custom fields, the editing cost of template changes, and the cost of memory usage and loading carrying operation standards. Only when compared with the same standards does it have significance.

2026-10-15

How to compare the use of plugins or built-in systems for comment spam prevention, and how to compare the cost and blocking criteria?

The two routes for comment spam prevention should first align the criteria: The well-known plugin Akismet uses machine learning to filter comment and form spam, claiming an accuracy rate of 99.99%, free for personal sites, and commercial plans are priced annually; the built-in route blocks at submission frequency control, reCAPTCHA verification code, sensitive word filtering, and content review, without a subscription fee based on the site. The comparison is not about who blocks more, but about data dependency and cost structure.

2026-10-15

When the number of sitemap items does not match the crawling report, first check whether it is generated or submitted

The number of sitemap entries does not match the crawling report, first check the generation side and then check the submission side: check on the generation side whether the slices and index files cover all sub-images, whether lastmod is filled according to the actual modification time, and whether there are any mixed redirects or non-standard addresses with parameters; on the submission side, check whether the engine side has received it, whether there is active push cooperation, and whether the declarations in robots are consistent.

2026-10-15