Skip to content

Commit 85e97aa

Browse files
authored
Fix STUDYNAME empty check
1 parent e90396a commit 85e97aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def check
105105
vars = {
106106
'hid_javascript' => '1'
107107
}
108-
vars['hid_studyname'] = datastore['STUDYNAME'] if datastore['STUDYNAME']
108+
vars['hid_studyname'] = datastore['STUDYNAME'] unless datastore['STUDYNAME'].to_s.strip.empty?
109109

110110
res = send_request_cgi(
111111
'uri' => normalize_uri(target_uri.path),

0 commit comments

Comments
 (0)