Why does the security upgrade announcement of the peer CMS still require clearing the cache and checking the files?
The PbootCMS official website released the 'Notification on Security Upgrade of PbootCMS v3.2.14' on June 22, 2026, which not only requires upgrading to the new version but also includes two actions that are easy to overlook: please delete the runtime/cache directory in time after the upgrade is complete, and check if there are any abnormal PHP files, unknown uploaded files, or suspicious changes in the website directory.These two are not additional reminders, but part of the handling process: the patch solves the issue of 'the entrance is still open', and the cached and landed files solve the issue of 'the things left by those who have already entered.'Only looking at the version number would judge a site still hacked as repaired.
Why the patch is not equal to the site being clean
The upgraded and replaced is the program code, and its coverage has three natural blind spots:
The first place is the cache. The runtime directory stores rendering results and intermediate data, with write times earlier than the vulnerability repair. After the upgrade, if the cache is not cleared, the front-end will still output old content, and the attacker's previously planted scripts or links may continue to be spit out from the cache. The version number is new, but the page content is old, and this kind of inconsistency is the most difficult to find in troubleshooting.
The second place is the file system write permission. Vulnerability exploitation often involves writing operations: a one-liner malware, unknown uploaded files, modified templates, or entry files. These are not within the scope of the upgrade package, and code upgrades will not delete them or change their timestamps.
The third place is the data table. The article content, column configuration, and abnormal content in the user table belong to the data layer, and the upgrade will not clean the data. The script written into the text will still output to the front end.
Why should the runtime cache be cleared separately?
The cache directory is located at 'can be rebuilt at any time', deleting it does not lose the source data, and it will be regenerated the next time it is accessed. This is also the reason why it becomes a high-frequency location: low write cost, few cleaning actions, and maintainers usually don't look at what's inside. The execution timing should be immediately after the upgrade is completed, otherwise, the old cache and new code will be mixed for a period of time, and the front-end will still show the results before the repair. After cleaning, it should actively visit the homepage and several inner pages to confirm that the rebuilding process is normal.
Check the key locations of the file
Sort by suspiciousness:
- Upload directory and its subdirectories. The legitimate files should only be images and attachments, and files with script extensions should be checked carefully.
- Template and static resource directory. Modified template files often have abnormal timestamps or extra code blocks.
- Root directory of the site. The list of files in a legitimate root directory is relatively fixed, and any additional readable script files should be questioned about their source.
- Deep and oddly named directories. Attackers tend to place files in less frequently browsed paths, relying on directory name confusion.
In terms of verification methods, it is more reliable to compare the file list with a clean official release package than to rely on a quick glance with experience; at the same time, retain the whitelist of legitimate extension files for the site to avoid treating normal materials in the upload directory as anomalies.
What is the corresponding action within the site?
The same sequence is placed on the self-owned system, and the first step is still to back up. AnQiCMS's backup and recovery cover data and static files, and it should be done once before handling, both as a fallback method and as a baseline for file comparison. Cleaning and troubleshooting are actions that can affect the front-end, and it is not advisable to operate directly on the production site without a rollback point.
The second step is to collect the data face. Exceptions in the content layer can be handled by the background content review and sensitive word filtering: AnQiCMS supports sensitive word filtering and keyword replacement, content review. Abnormal content written into the main text can be intercepted or replaced at this level. When abnormal content in the main text is found and involves a wide range, the whole-site replacement tool is suitable for batch processing keywords or links, but it is necessary to limit the scope first to avoid changing the same strings legally in the main text in one go.
The third step is to leave a notification. Disposal actions need to be known to someone, AnQiCMS supports email reminders, notifying the maintainer of the upgrade and cleanup results earlier than waiting for user feedback to discover page anomalies.
Common questions
The front-end looks normal after the upgrade, do we need to clear the cache?Yes. The front-end being normal only means that the current access path has hit a new cache or an unpolluted page, it does not mean that all caches have been rebuilt.
No backup has been made, can we upgrade first and then make up for the backup?It is not recommended. Upgrading will overwrite files, and after the abnormal files and modification traces are deleted, it will be impossible to determine the scope of the intrusion; at this time, it is more secure to first copy the entire site files and database snapshots.
Should the abnormal files found be deleted directly?Keep the samples first and then delete them, recording the path and timestamp. Deletion is a stopgap measure, and the samples are used to determine where the entry is, otherwise the same location may appear repeatedly.
Are these two requirements ****?No. It corresponds to two types of real residuals: rendering result residuals and writing residuals. Patches only solve the entry, and residuals need to be handled by people.