diff --git a/modules/exploits/linux/http/selenium_greed_firefox_rce_cve_2022_28108.rb b/modules/exploits/linux/http/selenium_greed_firefox_rce_cve_2022_28108.rb index eb47afd742b2..8c2ad28eb6af 100644 --- a/modules/exploits/linux/http/selenium_greed_firefox_rce_cve_2022_28108.rb +++ b/modules/exploits/linux/http/selenium_greed_firefox_rce_cve_2022_28108.rb @@ -98,12 +98,7 @@ def check # Extract the version version = Rex::Version.new(json_data['version']) - if version == Rex::Version.new('4.0.0-alpha-7') || Rex::Version.new('4.0.1') <= version - return Exploit::CheckCode::Safe("Version #{version} detected, which is not vulnerable.") - end - @version3 = version < Rex::Version.new('4.0.0') - CheckCode::Appears("Version #{version} detected, which is vulnerable.") end