The entry file of the peer CMS has been replaced with a tampering script, what can be read from the public issue list?

📅 October 10, 2026 👁️ 8

The entry file of the peer content system has been replaced with a tampering script, what clues can be read from the public issue? This issue (PbootCMS issue #50, titled 'The latest version vulnerability still exists, new script tampering virus') has three time lines and two file names that can be verified: core/start.php was tampered with on June 23, 2026, the home page index.php was tampered with on June 24, and the issue was created on June 25 and closed on July 8.The script does not directly output fixed content, but first reads visitor identification and source reference, determines whether this visit comes from a search engine, and then retrieves the content from the external address.This is the typical 'only for crawler display' tampering form for content stations.

Three time points that can be read from the issue list

Verifiable fields Recorded value Pronunciation
First tampering 2026/6/23, entry start file Starting point is on the start path, not in the content of a single article
Second tampering 2026/6/24, homepage file Expand to the home directory entry the next day
Create an issue ticket 2026-06-25 The interval from occurrence to public reporting is about one day
turned off 2026-07-08 From public to closed about two weeks, with continuous discussion in between

Two tampered dates are connected, which is the most valuable information in this issue ticket: it shows that the writing action is not one-time, and the attacker has obtained the ability to continuously rewrite files. If only the homepage is cleaned, it will reappear the next day.

Why does the tampering script need to judge the visitor's identity

The script written in the issue form reads the visitor identifier and source reference, using keywords related to the search engine name and regular expression patterns of the crawler name to determine the source of visit. The purpose is quite direct: to make the webmaster and normal visitors not see the anomaly and only return the constructed content when the crawler visits.

This leads to two consequences for investigation. One is that when opening the homepage with a browser, it often displays normally, so you need to use the same access method as the crawler to judge whether it has been tampered with; the other is that the title and description appearing in the search engine index may not correspond to any text in the site - this kind of difference between 'there is no station and there is external' is itself the most direct signal.

Regarding the specific address and code details for retrieving external content, it has already been written in the issue ticket, and this document does not repeat confusing fragments or reference external domains. When following up, you only need to accept a conclusion: the entry file is not the one you wrote.

Check the order of file integrity verification

The order is arranged according to the possibility of being written, not according to the directory hierarchy.

sequence Check the location Judgment method
1 Entry and startup file Compare each file with the release package, including file modification time
2 Homepage and column template Compare the original template text to see if there is any additional logic for reading visitor information
3 Script files within the upload directory An executable file extension appears in the material directory, which is an exception
4 Scheduled and queue tasks Check for tasks added by others
5 Background account and login records Check account numbers and recent login sources
6 Database content Random check for the main text and configuration table being bulk written

The comparison benchmark for the first step comes from the release package, not the current directory itself: the files in the current directory have been changed, and taking them as a benchmark will always be consistent. The third step is a common point missed by many sites - the upload directory allows writing and can be parsed, which is a common point of secondary writing.

Deployment method determines the speed of recovery

In the same type of event, the difference in recovery speed is usually not technical, but whether there is a complete copy that can be rolled back.

AnQiCMS supports the backup and recovery of data and static files, rolling back the database and static products together to avoid inconsistencies caused by template rollback and data not being rolled back. Document deletion is moved to the recycle bin instead of being physically deleted, and accidental deletion and tampering at the text level can be restored from the recycle bin first, without depending on the entire backup package.

The deployment method also takes effect here. AnQiCMS supports one-click deployment via Baota panel, aaPanel, LNMP command deployment, and Docker image, defaulting to listen on port 8001. When containerized deployment, you can roll back the entire running environment to the previous image and rebuild it, which is more complete than just replacing files; when deploying via panel or command, comparing and replacing files is the main means, with the prerequisite that there is an original release package to serve as a benchmark.

Several things need to be verified after the modification is done

Cleaning and changing the password is only half done, and the remaining verification determines whether the problem is really under control.

The first is to check in a different way: Use the same access method as the crawler to grab the homepage and several inner pages, and confirm that the returned content is consistent with the on-site text. The second is to check the publicly visible results to see if there are any abnormal titles remaining in the收录. The third is to review the content layer, where AnQiCMS provides sensitive word filtering and keyword replacement with content review, which can intercept abnormalities before they are released to the public when the content is rewritten. The fourth is to review the writing path - conclusions must be reached on account, version, and directory permissions, otherwise, cleaning files is just waiting for the next round.

Common questions

Did not write the source of attack in the issue report, should we guess ourselves?

Do not. The issue report only specifies the modified files and script behavior, without giving the intrusion path. The investigation should be conducted from three verifiable online aspects: account, version, and file permissions. Guessing the source may cause the disposal action to lose focus.

Is it enough to only recover the home page files?

Not enough. The records show two modifications, one in the entry start file and the other in the home page file, one day apart. Only cleaning the one that is seen will cause the other to re-occur the next time it is accessed.

How can you confirm that the site has not been written with similar logic?

Access the homepage and main inner pages in a way consistent with web crawlers, and compare them with the on-site content; at the same time, compare the entry and startup files with the original release package. Both must be consistent to consider the publicly visible content to be consistent with the on-site content.

Do you need to change the credentials after recovery?

Yes. If the file has been rewritten, it means that there is already the ability to write, and the handling should include at least changing the administrator password and credential rotation, followed by a review of the login records. If only the files are rolled back and the credentials are not changed, the site will be cleaned again in the next round.

Related articles

The information disclosure announcement of the password-free login module is only rated medium, what kind of content is leaked?

An announcement for the two-factor authentication and password-free login module, categorized as information leakage, rated as moderately critical, with a risk score of twelve to twenty-five. The confidentiality in the dimension string is noted as partially affected, integrity is zero, and the exploitation conditions are marked as theoretical. This article analyzes the 'moderate' from which dimensions are composed one by one, explaining that it should not be inferred specifically from leakage announcements without public details, and gives the order of closing the login state and content visibility of the self-owned site.

2026-10-10

The server push of HTTP/2 has been removed by most browsers, what does the first screen rely on to fetch resources in advance?

The official goal of HTTP/2 is to reduce latency and head-of-line blocking by using full request and response multiplexing, and to use HPACK to efficiently compress header fields; due to the difficulty of implementation in practice, server push introduced in the same version has been removed from most mainstream browser engines, and alternative means are the rel=preload declaration in the page and the 103 Early Hints status code. This article explains to what extent these two methods can be preloaded, how the list of resources on the first screen should be arranged, and what changes need to be made on the program side and the gateway side to avoid relying on a mechanism that has been removed.

2026-10-10

When a page is embedded in an iframe of another website, where should the intercept be written in the response header?

Block nested pages have two options: X-Frame-Options only remains DENY and SAMEORIGIN two reliable values, among which ALLOW-FROM is outdated, modern browsers will ignore this response header completely when they encounter it; To do a finer-grained range of permission, you need to use the frame-ancestors instruction in the content security policy. This article explains the available scope of the two paths, why the outdated values cannot be treated as a whitelist, and gives the order of choice for embedding strategies for three interactive pages such as background forms, messages, and comments.

2026-10-10

There is a paper saying that GEO can increase visibility by about 40%, how can this number be reviewed on the site?

The widely cited limit statement in the original paper on generative engine optimization is: Under the benchmark test environment, the GEO method can increase visibility by about 40%, while the author explicitly states that the effects differ greatly across different fields. It is a common misreading to take this number as the expected return for your own site. This paper analyzes the experimental settings of this number and provides a set of in-site review paths: fixed baseline and question set, record the brand and page landing points in the answers, and then explain the model description files and collection modules that can be配合 with the upper-level site.

2026-10-10

The editor module issued multiple unauthorized announcements, what standard does the backend role permission collect according to?

The access bypass公告 of the editor module is rated as moderately critical, with a risk score of thirteen to twenty-five, requiring basic attack conditions and user permission requirements. This article analyzes the reading method of the unauthorized access issues based on the announcement fields, dividing the intake into action layers: editing, submission, and publication, respectively assigned to different user groups, first confirming whether the module is enabled and then narrowing the executable range, and using content review and sensitive word filtering to maintain the last confirmation before publication.

2026-10-10

The update record of the peer program writes switching to HTTPS and blocking cache poisoning, does it count as a security fix?

In the release records of similar programs, three types of changes appear at the same time: changing the template external link from http to https, fixing HTML cache poisoning caused by bypassing query parameters, and adding configurable trusted proxy settings. All three are often written as security fixes, but the levels they solve are different. This article distinguishes transmission encryption, cache correctness, and access control one by one, and gives the order of making backups and rollbacks before upgrading, to avoid interpreting the version records as security commitments.

2026-10-10

How long should you wait after the interface returns 429, and which layer should give the retry prompt?

429 means that the client has made too many requests within the given time window, according to the specification, this response can include a retry header to indicate how long the client should wait. The example in the document gives a value of 3600 seconds, which is sixty minutes after which the request can be made again. This article explains why the waiting time should be provided by the server, and the client is only responsible for complying, and distinguishes between the different writing styles of interface push and batch import under two apertures: traffic shaping by source address and traffic shaping by login identity.

2026-10-10

In the content management system statistics, WordPress accounts for nearly 60%, and the remaining share is in whose hands.

Two percentages appear in the same content management system statistics: WordPress is used by 40.1% of websites, accounting for 58.6% of the share in the content management system口径; another 31.6% of websites use content management systems that are not monitored by the statistics. The difference between the two comes from the denominator. This article explains the reading of this share, what the unmonitored part means, and what questions the share data can and cannot answer when selecting options.

2026-10-10