Security scan test: harmless samples on a copy of a WP119 test site
配置したもの
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-FPM | 200 | 200 | |
| Apache + php-cgi (mod_cgid) | 200 | 200 | |
| Apache + mod_php | 200 | 200 | |
| nginx + PHP-FPM | 200 | 200 |
各実行の結果
| 日付(UTC) | サーバー構成 | 接続方式 | 結果 | 製品バージョン | 備考 | サンプルごとの結果 |
|---|---|---|---|---|---|---|
| 2026-11-18 | Apache + PHP-FPM | FTP | Recovered | 2.1.488 | uploads-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-18 | Apache + PHP-FPM | SSH | Recovered | 2.1.488 | uploads-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-18 | Apache + PHP-FPM | WP admin | Recovered | 2.1.488 | core-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-18 | Apache + php-cgi (mod_cgid) | FTP | Recovered | 2.1.488 | uploads-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-18 | Apache + php-cgi (mod_cgid) | SSH | Recovered | 2.1.488 | uploads-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-18 | Apache + php-cgi (mod_cgid) | WP admin | Recovered | 2.1.488 | core-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-18 | Apache + mod_php | FTP | Recovered | 2.1.488 | uploads-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-18 | Apache + mod_php | SSH | Recovered | 2.1.488 | uploads-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-18 | nginx + PHP-FPM | FTP | Recovered | 2.1.488 | uploads-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-18 | nginx + PHP-FPM | SSH | Recovered | 2.1.488 | uploads-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-18 | nginx + PHP-FPM | WP admin | Recovered | 2.1.488 | core-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-18 | Apache + mod_php | WP admin | Recovered | 2.1.490 | core-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 |
配置したサンプル
uploads-php— PHP file in the uploads folder, with a known-malware name in a comment (Named in the report and handled in the recovery)uploads-phtml— .phtml file in the uploads folder, with a known-malware name in a comment (Named in the report and handled in the recovery)root-phtml— .phtml file in the site root folder, with a known-malware name in a comment (Named in the report and handled in the recovery)plugin-line— Comment with a known-malware name added to the end of a plugin's main file (Named in the report and handled in the recovery)theme-line— Comment with a known-malware name added to the end of the theme's functions.php (Named in the report and handled in the recovery)config-include— Line in wp-config.php that loads a file with a known-malware name in a comment (Named in the report and handled in the recovery)core-line— Comment added to the end of a WordPress core file in wp-includes (Named in the report and handled in the recovery)core-extra— Extra PHP file (comment only) in the wp-includes folder (Named in the report and handled in the recovery)locked-folder— File with a known-malware name in a comment, in an uploads subfolder the site's account cannot change (Named in the report only; left as is)uploads-plain— PHP file (comment only) in the uploads folder, with no known-malware name (Named in the report only; left as is)orphan-cron— Scheduled task with no code that handles it (Named in the report only; left as is)post-embed— Post with a script and an embedded frame from other domains (Named in the report only; left as is)sitemap-outside— Sitemap file in the site root that lists addresses on another domain (Named in the report only; left as is)
補足
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.
この記録の変更履歴
- 2026-11-18 — Added 1 run from the lab run log.
- 2026-11-18 — Added 1 run from the lab run log.
- 2026-11-18 — Added 1 run from the lab run log.
- 2026-11-18 — Added 1 run from the lab run log.
- 2026-11-18 — Added 1 run from the lab run log.
- 2026-11-18 — Added 1 run from the lab run log.
- 2026-11-18 — Added 1 run from the lab run log.
- 2026-11-18 — Added 1 run from the lab run log.
- 2026-11-18 — Added 1 run from the lab run log.
- 2026-11-18 — Added 1 run from the lab run log.
- 2026-11-18 — Added 1 run from the lab run log.
これらは当社のテストサーバー上で、特定のバージョン・特定の日に記録したものであり、どのサイトについても結果を約束するものではありません。ホスティング、PHP、WordPress のバージョンが異なれば結果も異なることがあります。