Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/documentation/modules/exploit/multi/browser/chrome_simplifiedlowering_overflow.md
Views: 11788
Vulnerable Application
This module exploits an issue in Google Chrome versions before 87.0.4280.88 (64 bit). The exploit makes use of an integer overflow in the SimplifiedLowering phase in turbofan. It is used along with a typer hardening bypass using ArrayPrototypeShift to create a JSArray with a length of -1. This is abused to gain arbitrary read/write into the isolate region. Then an ArrayBuffer can be used to achieve absolute arbitrary read/write. The exploit then uses WebAssembly in order to allocate a region of RWX memory, which is then replaced with the payload shellcode.
The payload is executed within the sandboxed renderer process, so the browser must be run with the --no-sandbox option for the payload to work correctly.
The module is compatible with any 64bit Google Chrome (versions before 87.0.4280.88) on multiple platforms. However, the code that writes the shellcode into the rwx region (wasm_rwx_addr) may need to be modified.
Vulnerable Application Installation Steps
You can download a vulnerable Chrome version from this location: https://chromium.cypress.io/win64/stable/87.0.4280.66
Verification Steps
Do:
use exploit/multi/browser/chrome_simplifiedlowering_overflow
Do:
set URIPATH / [PATH]
Do:
set LHOST [IP]
Do:
set SRVHOST [IP]
Do:
exploit
Options
None
Scenarios
Windows 10 and Google Chrome 87.0.4280.66 with --no-sandbox
Start Google Chrome without a sandbox, e.g: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --no-sandbox