Towards Automated Discovery of Asymmetric Mempool DoS in Blockchains

Authors:
  • YWYibo Wang
    Yibo Wang
  • YTYuzhe Tang
    Yuzhe Tang
  • KLKai Li
    Kai Li
  • WDWanning Ding
    Wanning Ding
  • ZYZhihua Yang
    Zhihua Yang

Abstract
In blockchains, mempool controls transaction flow before consensus, denial of whose service hurts the health and security of blockchain networks. This paper presents MPFUZZ, the first mempool fuzzer to find asymmetric DoS bugs by exploring the space of symbolized mempool states and optimistically estimating the promisingness of an intermediate state in reaching bug oracles. Compared to the baseline blockchain fuzzers, MPFUZZ achieves a > 100x speedup in finding known DETER exploits. Running MPFUZZ on major Ethereum clients leads to discovering new mempool vulnerabilities, which exhibit a wide variety of sophisticated patterns, including stealthy mempool eviction and mempool locking. Rule-based mitigation schemes are proposed against all newly discovered vulnerabilities.