06-11, 14:30–15:00 (America/New_York), Grand Salon
NVMe technology is part of every Could Service Provider, and nowadays, Cloud Services are perhaps the most important cornerstone of modern computing. For this technology to work effectively, there’s a need for a reliable communication standard between the different services and their storage, and that’s exactly where NVMe comes to play.
In this session, we’ll see how I discovered a pre-auth remote vulnerability in the NVMe implementation of the Linux kernel in a matter of minutes and how you can do it as well.
The ease with which such vulnerability can be detected and exploited, combined with the fact that it’s done in the pre-auth stage and requires no more than a slight misconfiguration, makes this kind of attack vector very dangerous.
Detailed outline of the talk (30minutes):
- whoami + agenda (2 minutes)
- Open-Source Vulnerability Research Methodology (3 minutes)
- Choosing a target
- Our approach to Open-Source research
- Static Code Analysis Overview (3 minutes)
- SCA 101
- What is SCA
- How does it work
- Examples of open-sourced tools and how to choose wisely
- SCA 101
- SCA vs Kernel (4 minutes)
- Introduction to the research - Motivation, Attack surface, Impact, and methodology
- Previous Open-Source vulnerabilities I discovered - CVE-2022-31615, CVE-2022-34682, CVE-2022-4842, CVE-2022-29021, CVE-2022-29022, CVE-2022-29023
- What type of bugs do we expect to find with SCA - Memory corruption
- Evaluating SCA against my previous findings
- Hunting down for vulnerabilities with SCA
- Introduction to the research - Motivation, Attack surface, Impact, and methodology
- NVMe Intro (4 minutes)
- Why and how I’ve chosen this target
- What is NVMe
- NVMe-oF
- NVMe-TCP
- Where can NVMe be found in real life (from cloud providers to on-premise storage machines)
- NVMe Remote DoS in the Linux Kernel (3 minutes)
- Real Vulnerability source-code
- Exploiting the vulnerability
- Setup of the NVMe-TCP environment (2 minutes)
- Scraping for configuration information
- Setup by trial and error
- Live Demo I: Remote Exploitation (1 minute)
- From Remote DoS to Pre-Auth Remote DoS (2 minutes)
- How I overcame the Authentication feature
- Live Demo II: Pre-Auth Bypass Exploitation (1 minute)
- Wrap-up (2 minutes)
- “Tips” for tackling a big Open-Source project
- Old-known methods are still relevant for new research
- Impact of the research (Accepted PR, CVE, sharing with the community)
- Q&A (3 minutes)
Tal Lossos is a Security Researcher at CyberArk Labs with years of experience in kernel module development with a deep interest in OS internals and currently focuses on bug hunting in the Linux kernel. In his recent works, Tal discovered multiple vulnerabilities in drivers causing elevation of privilege.