From effbfac806c9b7ff483ac32ba4f101152c53bb77 Mon Sep 17 00:00:00 2001 From: Chocapikk Date: Fri, 30 Aug 2024 21:50:11 +0200 Subject: [PATCH] fix: right versions in spip_rce_form.rb .... --- modules/exploits/multi/http/spip_rce_form.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/exploits/multi/http/spip_rce_form.rb b/modules/exploits/multi/http/spip_rce_form.rb index 2b06b4191543..add2248e056b 100644 --- a/modules/exploits/multi/http/spip_rce_form.rb +++ b/modules/exploits/multi/http/spip_rce_form.rb @@ -80,11 +80,13 @@ def check print_status("SPIP Version detected: #{rversion}") - if rversion.between?(Rex::Version.new('2.0.0'), Rex::Version.new('2.0.20')) + if rversion.between?(Rex::Version.new('4.2.0'), Rex::Version.new('4.2.1')) return Exploit::CheckCode::Appears - elsif rversion.between?(Rex::Version.new('2.1.0'), Rex::Version.new('2.1.15')) + elsif rversion.between?(Rex::Version.new('4.1.0'), Rex::Version.new('4.1.18')) return Exploit::CheckCode::Appears - elsif rversion.between?(Rex::Version.new('3.0.0'), Rex::Version.new('3.0.2')) + elsif rversion.between?(Rex::Version.new('4.0.0'), Rex::Version.new('4.0.10')) + return Exploit::CheckCode::Appears + elsif rversion.between?(Rex::Version.new('3.2.0'), Rex::Version.new('3.2.18')) return Exploit::CheckCode::Appears end