Skip to content

Latest commit

 

History

55 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cache Me If You Can: A reimplementation of SLUBStick for linux 5.14

Installation

Download Linux 5.14 tarball and setup the disk image for qemu

./setup.sh

Go to the VM folder and execute the run.sh script. It compiles the exploit and modules (Modules were used during the development and are no longer needed). Then it starts the VM

cd vmachine
./run.sh

Try the POC

Once inside the VM there are two users configured:

  1. root which password is unknown
  2. user configured with no password

To open another shell inside the vm a telnet server is configured.

telnet localhost 5555

First of all log in as user then move to the root directory and execute the exploit binary

cd /
./exploit

Various debugging options are shown. Press 101 to execute the full exploit. If the final message starts with Content successfully changed, then the POC worked, and now it is possible to login as root user without password.

Log in from telnet as root

POC video

POC_rec.mp4

References

SLUBStick paper: https://www.usenix.org/conference/usenixsecurity24/presentation/maar-slubstick CVE-2022-2588: https://nvd.nist.gov/vuln/detail/cve-2022-2588

About

SLUBStick exploitation of CVE-2022-2588. Converting a DF into a cross-cache arbitrary memory R/W primitive through PTE manipulation.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages