FPVI & SCSB Disclosure (Feb 12, ‘21)
Two new transient execution vulnerabilities, FPVI and SCSB, were disclosed to Intel and AMD. An attacker could potentially exploit these to leak data or bypass code store protections, though end-to-end exploits in JavaScript are not yet demonstrated.
Originally disclosed on Mozilla
- Fixed in 23 days
- Paid in 28 days
- Disclosed after 23 days
I am filing this on behalf of Hany Ragab, Enrico Barberis, Herbert Bos, and Cristiano Giuffrida from the VUSec group at VU Amsterdam, who sent an email to [address removed]:
Hi,
This is to inform you we at VUSec just disclosed two new transient execution vulnerabilities to Intel and AMD. We term such vulnerabilities Floating Point Value Injection (or FPVI) and Speculative Code Store Bypass (or SCSB)---due to the similarities with LVI and Spectre-SSB. We don’t yet know if these have already been disclosed by others, but we wanted to give you all the information as early as possible (due to a long history of communication issues with Intel). We’re currently aiming for a 90-day embargo period.
PFA the same archive disclosed to Intel & AMD, containing: (i) the paper documenting the vulnerabilities and our analysis just submitted to USENIX Security (Winter); (ii) a disclosure overview document briefly introducing FPVI & SCSB, our proposed mitigations, and Proof-of-Concept exploits (PoCs); (iii) two PoCs inspired by real-world applications (browsers) to reproduce FPVI & SCSB.
Note that while our exploits use SpiderMonkey as a point of reference, they’re both native PoCs that cannot directly run in a SpiderMonkey sandbox. We believe producing end-to-end exploits in JavaScript just requires additional engineering effort especially for FPVI, since we have verified the JIT engine is affected. We’re working on end-to-end exploits in ongoing work and we’ll update you as soon as we have results. Luckily, the mitigations are relatively simple. Both issues can be mitigated with Fission. Without Fission, SCSB’s mitigation is straightforward (i.e., use a serializing instruction like lfence on x86 in FlushICache), while FPVI imposes some performance/precision tradeoffs (see disclosure overview and paper for details). We’re concurrently disclosing these issues to Chromium. We’d like to know if you are able to inform other browser vendors besides Chromium.
Please let us know if you have questions/comments, we’re happy to discuss these issues in more detail. Please CC [address removed] in all future communication on this issue. This is to reach the “MC team” disclosing the vulnerabilities, that is “Hany Ragab, Enrico Barberis, Herbert Bos, and Cristiano Giuffrida from the VUSec group at VU Amsterdam”.
Please let us also know if you’d also like this report filed on Bugzilla, as suggested at https://www.mozilla.org/en-US/about/governance/policies/security-group/bugs.
Best,
Cristiano (on behalf of the MC @VUSec team)
PS.: [address removed] is simply an alias for [address removed], [address removed],
[address removed], [address removed], you can find the corresponding PGP keys here:
https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x409784444f2ac8f2643eb39d0515f11a30c299fa (Hany)
https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x4f6517e19584e1c454d4c36ee2ef4734fc503bda (Enrico)
https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xb9d27a126befc1ba3cdd6866f3e2f9f5fa47c706 (Herbert)
https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x038bd8776dd243469da4df1c7a0c07dcc87edb69 (Cristiano)
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the processor's speculative execution and code store mechanisms do not properly isolate or serialise certain operations, allowing value injection or bypass of code store protections.
Impact
The vulnerabilities could allow an attacker to leak sensitive data or execute unintended code, but the provided proofs of concept are native and cannot directly run in a browser sandbox; mitigations such as Fission or serialising instructions can limit the impact.
What the attacker needed
Access to affected hardware; ability to run native code; no browser sandbox escape yet
The fix
The issues can be mitigated with Fission, or for SCSB without Fission by using a serialising instruction like lfence on x86 in FlushICache, while FPVI requires performance/precision tradeoffs.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
These are hardware-level flaws in how processors handle speculative execution, a technique used to speed up computing. An attacker might be able to trick the processor into revealing secret data or running unintended code, but the researchers have not yet shown a full attack that works in a web browser.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.