初步評估

Security scan test: harmless samples on a copy of a WP119 test site

配方 20261117-scan-m5-all · 最新一跑 2026-11-18 · 首次發布 2026-11-18 · 更新 2026-11-18 · Security scan test

放了什麼

Harmless samples placed before each case: PHP files with a known-malware name in a comment (uploads, site root); that comment in a plugin file, theme functions.php and a core file; a wp-config.php line loading such a file; a comment-only PHP file added to wp-includes. Listed only: a scheduled task with no handler, an uploads PHP file without the name, a post with a script and frame from other domains, a root sitemap listing another domain, a file with the name in a folder the site cannot change.

出處:安全掃描測試(在 WP119 測試站上放的無害樣本),沒有論壇帖。每種主機環境與連線模式只列最新一跑。

測試環境與放好樣本後看到什麼

測試站:WordPress 7.1、PHP 8.3。下表是放好樣本之後,首頁與登入頁回的 HTTP 狀態。

主機環境首頁登入頁備註
Apache + PHP-FPM200200
Apache + php-cgi (mod_cgid)200200
Apache + mod_php200200
nginx + PHP-FPM200200

每一跑的結局

日期(UTC)主機環境連線模式結局維修站版本備註樣本結果
2026-11-18Apache + PHP-FPMFTPRecovered2.1.488uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is
2026-11-18Apache + PHP-FPMSSHRecovered2.1.488uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is
2026-11-18Apache + PHP-FPMWP adminRecovered2.1.488core-line: not named in the report (in WP admin mode the report does not check core files); the restore replaced the core file with the official file.uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: n/alocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: n/a
2026-11-18Apache + php-cgi (mod_cgid)FTPRecovered2.1.488uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is
2026-11-18Apache + php-cgi (mod_cgid)SSHRecovered2.1.488uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is
2026-11-18Apache + php-cgi (mod_cgid)WP adminRecovered2.1.488core-line: not named in the report (in WP admin mode the report does not check core files); the restore replaced the core file with the official file.uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: n/alocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: n/a
2026-11-18Apache + mod_phpFTPRecovered2.1.488uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is
2026-11-18Apache + mod_phpSSHRecovered2.1.488uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is
2026-11-18nginx + PHP-FPMFTPRecovered2.1.488uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is
2026-11-18nginx + PHP-FPMSSHRecovered2.1.488uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: Removedlocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: Listed, left as is
2026-11-18nginx + PHP-FPMWP adminRecovered2.1.488core-line: not named in the report (in WP admin mode the report does not check core files); the restore replaced the core file with the official file.uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: n/alocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: n/a
2026-11-18Apache + mod_phpWP adminRecovered2.1.490core-line: not named in the report (in WP admin mode the report does not check core files); the restore replaced the core file with the official file.uploads-php: Removeduploads-phtml: Removedroot-phtml: Removedplugin-line: Removedtheme-line: Removedconfig-include: Removedcore-line: Removedcore-extra: n/alocked-folder: Listed, left as isuploads-plain: Listed, left as isorphan-cron: Listed, left as ispost-embed: Listed, left as issitemap-outside: n/a

放的樣本

補充

Each run started from the same copy of the online store test site on that test server. Three other items were also placed on the test site before each case; they are not in the sample table, and no result is published for them: a must-use plugin that shows phone visitors a link to a reserved example domain and, on two test paths, sends visitors to reserved example domains (on one path, only phone visitors); an administrator account; and an active-plugin entry for a plugin that is not on the site.

這一筆的變更

這些是我們測試主機上、某一版、某一天的紀錄,不是對任何網站結果的承諾;其他主機、PHP 與 WordPress 版本的結果可能不同。

初步評估 →