Servoにサンドボックスを回避される脆弱性、javascript:が実行される
Summary
Servoで、sandbox属性を付けたフレーム内で、meta refreshを使ってjavascript:のURLが実行される脆弱性が見つかりました。攻撃者が用意したコンテンツで任意のJavaScriptを実行される可能性があり、影響はフレーム内にとどまりますが、0.4.0より前のServoが対象です。修正版は0.4.0なので、すでに利用している場合は、0.4.0以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Servoで、sandbox属性を付けたフレーム内で、meta refreshを使ってjavascript:のURLが実行される脆弱性が見つかりました。攻撃者が用意したコンテンツで任意のJavaScriptを実行される可能性があり、影響はフレーム内にとどまりますが、0.4.0より前のServoが対象です。修正版は0.4.0なので、すでに利用している場合は、0.4.0以降に更新してください。
Original description The description as published by the source.
Servo is a lightweight, high-performance web rendering engine for embedding web technologies in applications. Prior to 0.4.0, a frame with sandbox="" can reach and execute a javascript: URL through declarative refresh because RefreshRedirectDue::invoke() in components/script/dom/document/document.rs can reach JavaScript URL handling in components/script/script_thread.rs without enforcing the sandbox's script prohibition. This gives attacker-controlled content arbitrary JavaScript execution in a frame intended to be scriptless, including nested DOM probe creation and blind browser requests. The frame retains an opaque origin, so the issue does not by itself provide parent DOM access. This issue is fixed in version 0.4.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com