Skip to content

Commit d62ef44

Browse files
committed
Code Review Edits
1 parent 1c1b574 commit d62ef44

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ def initialize(info = {})
3737
['CVE', '2025-34300'],
3838
['URL', 'https://slcyber.io/assetnote-security-research-center/rce-in-the-most-popular-survey-software-youve-never-heard-of/']
3939
],
40-
'Platform' => ['win', 'linux', 'unix'],
41-
'Arch' => [ARCH_CMD, ARCH_X64, ARCH_X86, ARCH_ARMLE, ARCH_AARCH64],
40+
'Platform' => ['multi'],
41+
'Arch' => [ARCH_CMD],
4242
'Targets' => [
4343
[
4444
'Linux Dropper',
@@ -116,10 +116,10 @@ def check
116116

117117
if res.body =~ /Lighthouse Studio (\d+_\d+_\d+)/
118118
version_match = Regexp.last_match(1).to_s
119-
print_status("Extracted version: #{version_match.gsub('_', '.')}")
120-
version = Rex::Version.new(version_match.gsub('_', ''))
119+
version = Rex::Version.new(version_match.gsub('_', '.'))
120+
print_status("Extracted version: #{version}")
121121

122-
return CheckCode::Appears if version < Rex::Version.new(91614)
122+
return CheckCode::Appears if version < Rex::Version.new('9.16.14')
123123
else
124124
print_error("#{peer} - Unable to extract version number")
125125
end

0 commit comments

Comments
 (0)