CVE-2026-104286: 
Fortimail 脆弱性の分析と軽減

概要

CVE-2026-104286 is a critical path traversal vulnerability (CWE-22 / CWE-158) in Fortinet FortiMail that allows unauthenticated remote attackers to write arbitrary files on the underlying system via crafted HTTP or HTTPS requests. The vulnerability affects FortiMail versions 7.2.0–7.2.9, 7.4.0–7.4.8, 7.6.0–7.6.6, 8.0.0–8.0.1, and also 7.0.0–7.0.9 per NVD data. It was publicly disclosed on October 1, 2026, and was immediately added to CISA's Known Exploited Vulnerabilities (KEV) catalog the same day due to confirmed in-the-wild exploitation. It carries a CVSS v3.1 base score of 9.8 (Critical) (FortiGuard Advisory, CISA KEV, GitHub Advisory).

技術的な詳細

The vulnerability stems from two combined weaknesses: improper limitation of a pathname to a restricted directory (CWE-22) and improper neutralization of NULL bytes or NULL characters (CWE-158) in FortiMail's IBE (Identity-Based Encryption) feature. An unauthenticated attacker can send crafted HTTP or HTTPS POST requests to the /ibe endpoint containing path traversal sequences (e.g., ../) combined with NULL byte injection to bypass input validation, enabling arbitrary file writes to any location on the underlying system. No authentication or user interaction is required, and the attack is fully automatable over the network. The vulnerability was internally discovered and reported by Gwendal Guégniaud of Fortinet's Product Security team (FortiGuard Advisory, GitHub Advisory).

影響

Successful exploitation allows an unauthenticated attacker to write arbitrary files anywhere on the FortiMail system, which can lead to remote code execution, persistent backdoor installation, configuration tampering, and full system compromise. The combination of arbitrary file write and potential code execution means attackers can achieve complete confidentiality, integrity, and availability impact on the affected appliance. Given FortiMail's role as an email security gateway, compromise could expose sensitive email communications, enable lateral movement into internal networks, and facilitate further attacks on connected infrastructure. The vulnerability has been observed being used to install backdoors and establish persistent access (FortiGuard Advisory, CISA KEV, BleepingComputer).

エクスプロイト可能性

CVE-2026-104286 was exploited as a zero-day before patches were available and was added to CISA's KEV catalog on October 1, 2026, with a federal agency remediation deadline of October 4, 2026. Active exploitation has been confirmed and reported by multiple sources including watchTowr and BleepingComputer, with attackers observed writing files and establishing backdoors on FortiMail systems. A fake PoC repository (ShadowForge-Cyber/CVE-2026-104286-POC) was identified on GitHub but assessed as a fraudulent claim with no actual exploit code present. The EPSS score is approximately 2.2% (82nd percentile), and NVD SSVC classifies exploitation as active and automatable with total technical impact (CISA KEV, watchTowr, BleepingComputer, GitHub Advisory).

エクスプロイテーションのステップ

  1. Reconnaissance: Identify internet-facing FortiMail instances using tools like Shodan or Censys, targeting versions 7.0.x–7.6.x and 8.0.x. Confirm the IBE (Identity-Based Encryption) feature is enabled by probing the /ibe endpoint.
  2. Craft malicious HTTP request: Construct a POST request to the FortiMail /ibe endpoint with a path traversal payload in the filename or path parameter, combining ../ sequences with NULL byte injection (e.g., %00) to bypass server-side path restriction checks.
  3. Write arbitrary file: The crafted request causes FortiMail to write attacker-controlled content to an arbitrary location on the filesystem outside the intended restricted directory — for example, writing a web shell to a web-accessible directory or a cron job to /etc/cron.d/.
  4. Achieve code execution: Trigger the written payload (e.g., access the dropped web shell via HTTP, or wait for the cron job to execute) to gain remote code execution as the FortiMail service account.
  5. Establish persistence: Install a backdoor, exfiltrate credentials or email data, or pivot to internal network resources reachable from the FortiMail appliance (FortiGuard Advisory, watchTowr, BleepingComputer).

妥協の兆候

  • Network: Inbound POST requests to /ibe endpoints containing ../ path traversal sequences or NULL bytes (%00); outbound connections from the FortiMail server to suspicious external IPs, particularly 79[.]141.169.187 and 45[.]129.0.192.
  • Logs (System Event): type=event subtype=system pri=debug user=system ui=cron msg="(root) CMD (/bin/sh -c 'O=/migadmin ..." indicating unauthorized cron execution; admin logout events from null UI sessions: type=kevent subtype=admin ... action=logout status=success reason=unknown msg="User admin logged out from (null)." ; configuration changes adding remote archive accounts pointing to attacker-controlled IPs: type=kevent subtype=config ... msg="Added 'archive234' to 'archive account' ... remote-ip[79.141.169.187]".
  • Logs (Encryption): FortiMail::IBE::DecrypterMediaIn::DecrypterMediaIn(...): Caught BufferException(2), BufferImpl.cpp:973, 'Invalid Base64 Encoding at pos 0. Character=0x2a'; failed internal user login attempts: Internal user *@domain.tld failed to log in.
  • File System: Unexpected files written outside normal FortiMail directories; new or modified cron jobs; web shells in web-accessible paths.
  • Process: Unusual child processes spawned by FortiMail service (e.g., /bin/sh, curl, wget) (FortiGuard Advisory).

軽減策と回避策

Fortinet released patches on October 5, 2026: upgrade to FortiMail 8.0.2 or above, 7.6.7 or above, 7.4.9 or above, or migrate from 7.2.x to branch 7.4 or above. FortiMail Cloud was automatically updated to v7.6.7 GA or v8.0.2 GA on October 5, 2026, requiring no action from cloud customers. For organizations unable to patch immediately, Fortinet recommends the following workarounds: (1) disable the IBE feature via GUI (Encryption → IBE → IBE Service 'off') or CLI (config system encryption ibe / set status disable / end); (2) restrict or disable access to the FortiMail webmail interface from the internet; (3) if a WAF is deployed in front of FortiMail, configure it to block POST requests to /ibe containing ../. CISA directed federal agencies to remediate by October 4, 2026 (FortiGuard Advisory, CISA KEV).

コミュニティの反応

Fortinet issued an urgent advisory (FG-IR-26-175) on October 1, 2026, explicitly warning customers of active exploitation and urging immediate application of workarounds before patches were available. CISA added the vulnerability to its KEV catalog the same day with a 3-day remediation deadline for federal agencies, reflecting the severity of the threat. Security researchers at watchTowr published a detailed FAQ on the vulnerability, and multiple outlets including BleepingComputer, The Hacker News, SecurityWeek, and Help Net Security covered the zero-day extensively. Community discussion on Reddit (r/SecOpsDaily, r/linuxadmin) and social media platforms highlighted concerns about the lack of patches at initial disclosure and the exposure of internet-facing email gateways. The CIS, Canadian Centre for Cyber Security (CCCS), Hong Kong CERT, and Ireland NCSC all issued independent advisories (FortiGuard Advisory, BleepingComputer, watchTowr, CISA KEV).

関連情報


ソース: このレポートは AI を使用して生成されました

関連 Fortimail 脆弱 性:

CVE 識別子

重大度

スコア

テクノロジー

コンポーネント名

CISA KEV エクスプロイト

修正あり

公開日

CVE-2026-104286CRITICAL9.8
  • Fortimail logoFortimail
  • cpe:2.3:a:fortinet:fortimail
はいいいえOct 01, 2026
CVE-2025-57739HIGH8.8
  • Fortimail logoFortimail
  • cpe:2.3:a:fortinet:fortimail
いいえはいOct 13, 2026
CVE-2025-53681HIGH7.2
  • Fortimail logoFortimail
  • cpe:2.3:a:fortinet:fortimail
いいえはいMay 12, 2026
CVE-2025-54972MEDIUM4.3
  • Fortimail logoFortimail
  • cpe:2.3:a:fortinet:fortimail
いいえはいNov 18, 2025
CVE-2025-55717MEDIUM4
  • Fortimail logoFortimail
  • cpe:2.3:a:fortinet:fortimail
いいえはいMar 10, 2026

無料の脆弱性評価

クラウドセキュリティポスチャーのベンチマーク

9つのセキュリティドメインにわたるクラウドセキュリティプラクティスを評価して、リスクレベルをベンチマークし、防御のギャップを特定します。

評価を依頼する

パーソナライズされたデモを見る

実際に Wiz を見てみませんか?​

"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
デビッド・エストリックCISO (最高情報責任者)
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
アダム・フレッチャーチーフ・セキュリティ・オフィサー
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"
グレッグ・ポニャトフスキ脅威および脆弱性管理責任者