Skip to main navigation Skip to search Skip to main content

Robust Stack Smashing Protection for WebAssembly

  • Thales Group
  • Telecom Sudparis

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

WebAssembly is an instruction set architecture and binary format standard, designed for secure execution by an interpreter. This technology is identified as an alternative for current containerization technologies that is suitable for secure and lightweight orchestration for 5G/6G environments. Previous work has shown that WebAssembly is vulnerable to buffer overflow due to the lack of effective protection mechanisms.In this paper, we evaluate the implementation of Stack Smashing Protection (SSP) in WebAssembly standalone runtimes, and uncover two weaknesses in their current implementation. The first one is the possibility to overwrite the SSP reference value because of the contiguous memory zones inside a WebAssembly process. The second comes from the reliance of WebAssembly on the runtime to provide randomness in order to initialize the SSP reference value, which impacts the robustness of the solution.We address these two flaws by hardening the SSP implementation in terms of storage and random generator failure, in a way that is generalizable to all of WebAssembly.

Original languageEnglish
Title of host publication2024 IEEE Future Networks World Forum, FNWF 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages861-866
Number of pages6
ISBN (Electronic)9798350379495
DOIs
Publication statusPublished - 1 Jan 2024
Event2024 IEEE Future Networks World Forum, FNWF 2024 - Dubai, United Arab Emirates
Duration: 15 Oct 202417 Oct 2024

Publication series

Name2024 IEEE Future Networks World Forum, FNWF 2024

Conference

Conference2024 IEEE Future Networks World Forum, FNWF 2024
Country/TerritoryUnited Arab Emirates
CityDubai
Period15/10/2417/10/24

Keywords

  • Memory bugs
  • Stack Smashing Protection
  • WebAssembly

Fingerprint

Dive into the research topics of 'Robust Stack Smashing Protection for WebAssembly'. Together they form a unique fingerprint.

Cite this