We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a436d2 commit 14501a6Copy full SHA for 14501a6
modules/exploits/multi/http/invision_customcss_rce.rb
@@ -81,10 +81,10 @@ def check
81
version = Rex::Version.new(Regexp.last_match(1))
82
print_status("Detected IPS version: #{version}")
83
84
- if version <= Rex::Version.new('5.0.6')
+ if version.between?(Rex::Version.new('5.0.0'), Rex::Version.new('5.0.6'))
85
CheckCode::Vulnerable("IPS version #{version} is vulnerable (≤ 5.0.6)")
86
else
87
- CheckCode::Safe("IPS version #{version} appears patched (> 5.0.6)")
+ CheckCode::Safe("IPS version #{version} is not vulnerable")
88
end
89
90
0 commit comments