Sploitus

Exploit for Immunity Canvas: SPECTRE_FILE_LEAK

canvas · 2018-01-04

Exploit Code

MARKDOWN31 lines
## https://sploitus.com/exploit?id=SPECTRE_FILE_LEAK
**Name**|  spectre_file_leak  
---|---  
**CVE**|  CVE-2017-5753  
**Exploit Pack**|  [CANVAS](<http://http://www.immunityinc.com/products-canvas.shtml>)  
**Description**| Spectre File Leak  
**Notes**| CVE Name: CVE-2017-5753  
Notes:   
This module gives an unpriviledged user the ability to dump a file from the kernel  
memory. A common scenario is to dump the /etc/shadow or kerberos tickets.  
  
Note: For Fedora, the attack is targetless while for Ubuntu / CentOS and others  
you will need specific offsets compiled within the binary itself.  
  
Caveats:  
1\. Attacking vmware is slower, virtualbox while doable is insanely slower.  
2\. Sometimes on vmware the KASLR bypass may fail, this is work in progress.  
3\. The more recent the processor, the faster the attack.  
4\. Not all the filesystems are handled. In particular tmpfs files cannot be leaked.  
5\. The attack may not work at all on some specific kernels  
6\. The attack may not work at all on some hardware.  
7\. With this version you can only dump files fitting within a single page (&lt;= 4096 bytes)  
  
About (possible) future versions:  
\--------------------------------  
  
a) A cache may be implemented to speedup attempts  
b) A completely targetless version (not exclusive to Fedora) may be written later.  
  
  
CVE Url: https://vulners.com/cve/CVE-2017-5753