Servo Sandbox bypass: `meta refresh` can execute `javascript:` in `sandbox=""`
NIST has received this entry but not started reviewing it.
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.
Protection Mechanism Failure CWE-693
The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Servo Servo | Software | < 0.4.0 | not recorded |
The 8.8 severity score (high) from github.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | Required | A person has to do something first, such as open a file or visit a page. |
| Reaches beyond the program | Changed | The attacker can get beyond the vulnerable program and affect other parts of the system. |
| Data exposed | Low | The attacker can read some data, but not everything. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | Low | The attacker can slow the service or interrupt it briefly. |
| Ease of attack | 2.8 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.3 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 4 sources for this flaw, none tagged as a vendor patch.