From 4f859f129c6deabc2edd7b8bb82b7c1e28b99f22 Mon Sep 17 00:00:00 2001 From: Chocapikk Date: Sun, 8 Sep 2024 07:52:40 +0200 Subject: [PATCH] Fix bug --- modules/exploits/multi/http/spip_bigup_unauth_rce.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/multi/http/spip_bigup_unauth_rce.rb b/modules/exploits/multi/http/spip_bigup_unauth_rce.rb index 7ab978ba7eea..4da01aeccc10 100644 --- a/modules/exploits/multi/http/spip_bigup_unauth_rce.rb +++ b/modules/exploits/multi/http/spip_bigup_unauth_rce.rb @@ -102,13 +102,13 @@ def check print_good("SPIP version #{rversion} is vulnerable.") plugin_version = spip_plugin_version('bigup') - print_status("Bigup plugin version detected: #{plugin_version}") unless plugin_version print_warning('Could not determine the version of the bigup plugin.') return CheckCode::Appears("The detected SPIP version (#{rversion}) is vulnerable.") end + print_status("Bigup plugin version detected: #{plugin_version}") if plugin_version < Rex::Version.new('3.2.12') return CheckCode::Appears("Both the detected SPIP version (#{rversion}) and bigup version (#{plugin_version}) are vulnerable.") end