1. Recon
First we send a request to footprint the server:
Can see that the Chromium version is 130.0.6723.31
Upon searching google I found this repo: https://github.com/Petitoto/chromium-exploit-dev, that targets at the same Chrome version (130)

2. Exploitation
Inside the folder vuln/calc.js, we already have a sample for RCE on both Linux and Windows


Now I clone the repo to my PC, and I will be using the default configuration:

I will be editing the original calc.js to revshell to my server



The revshell function is mentioned in kit/shellcodes/x64-linux.js

Build a JS loader that will load main.js


And point to my exploitation:

Start the listener first:


Upload everything to my server

Generate a SSL certificate, since there’s a lot of JS functions that will requires HTTPS

Make a minimal HTTPS server with http.server

Run the server, input the url and pwn:


