Selenium Server (Grid) before 4.0.0-alpha-7 allows CSRF because it permits non-JSON content types such as application/x-www-form-urlencoded, multipart/form-data, and text/plain.
Linux
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/http/selenium_greed_chrome_rce_cve_2022_28108
msf exploit(selenium_greed_chrome_rce_cve_2022_28108) > show targets
...targets...
msf exploit(selenium_greed_chrome_rce_cve_2022_28108) > set TARGET < target-id >
msf exploit(selenium_greed_chrome_rce_cve_2022_28108) > show options
...show and set options...
msf exploit(selenium_greed_chrome_rce_cve_2022_28108) > exploit
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security