Speculative Buffer Overflows: Attacks and Defenses
Vladimir Kiriansky, Carl Waldspurger

TL;DR
This paper introduces new speculative execution vulnerabilities, Spectre1.1 and Spectre1.2, which exploit speculative buffer overflows and data overwrites, posing significant security risks and requiring new hardware and software defenses.
Contribution
It presents two novel Spectre variants exploiting speculative stores, discusses their attack mechanisms, and proposes potential hardware and software mitigations.
Findings
Spectre1.1 exploits speculative stores to create buffer overflows.
Spectre1.2 demonstrates overwriting read-only data via speculative stores.
New attack vectors bypass existing mitigations and enable arbitrary code execution.
Abstract
Practical attacks that exploit speculative execution can leak confidential information via microarchitectural side channels. The recently-demonstrated Spectre attacks leverage speculative loads which circumvent access checks to read memory-resident secrets, transmitting them to an attacker using cache timing or other covert communication channels. We introduce Spectre1.1, a new Spectre-v1 variant that leverages speculative stores to create speculative buffer overflows. Much like classic buffer overflows, speculative out-of-bounds stores can modify data and code pointers. Data-value attacks can bypass some Spectre-v1 mitigations, either directly or by redirecting control flow. Control-flow attacks enable arbitrary speculative code execution, which can bypass fence instructions and all other software mitigations for previous speculative-execution attacks. It is easy to construct…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Diamond and Carbon-based Materials Research · Cloud Data Security Solutions
