Skip to content

Commit b13f591

Browse files
committed
Added Setup Guide for Windows
1 parent 8024900 commit b13f591

File tree

1 file changed

+32
-5
lines changed

1 file changed

+32
-5
lines changed

documentation/modules/exploit/multi/http/lighthouse_studio_unauth_rce_CVE_2025_34300.md

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ The `hid_studyname` parameter serves as the identifier of the survey or test bei
1919

2020
## Testing
2121

22+
### Setup a Linux Server to Host the Lighhouse Survey
23+
2224
To set up a test environment:
2325

2426
1. Download and Install Ubuntu 18.04.6 LTS
@@ -230,14 +232,16 @@ sudo systemctl restart apache2
230232

231233
Now CGI scripts in /var/www/html/cgi-bin/ should be executable.
232234

233-
11. Download and Install Windows (on Second VM)
235+
### Create the Lighthouse Survey
236+
237+
1. Download and Install Windows (on Second VM)
234238

235239
Download Windows 10 ISO from the official Microsoft site:
236240
https://www.microsoft.com/en-us/software-download/windows10
237241

238242
Follow standard installation steps in your hypervisor (e.g., VirtualBox, VMware, etc.).
239243

240-
12. Download and Install Vulnerable Lighthouse Studio
244+
2. Download and Install Vulnerable Lighthouse Studio
241245

242246
This is the vulnerable application used to build and upload surveys.
243247

@@ -248,7 +252,7 @@ https://sawtoothsoftware.com/resources/software-downloads/lighthouse-studio/vers
248252

249253
Install Lighthouse Studio using default options.
250254

251-
13. Create and Save a New Study
255+
3. Create and Save a New Study
252256

253257
Use
254258

@@ -259,7 +263,7 @@ File -> New Study
259263
and follow instructions.
260264
In the end save the study.
261265

262-
14. Upload the Study to the Ubuntu VM
266+
4. Upload the Study to the Ubuntu VM
263267

264268
To host your survey on the Ubuntu VM:
265269

@@ -289,7 +293,7 @@ In the "Advanced" Tab
289293

290294
Set the Database Server Host Name — enter the IP address of your Ubuntu VM.
291295

292-
15. Upload the Survey to Server
296+
5. Upload the Survey to Server
293297

294298
Click the "Upload Survey to Server" button.
295299

@@ -303,6 +307,29 @@ OR (in case of any errors)
303307

304308
Use this instruction to upload manually [Manual Upload to Server](https://sawtoothsoftware.com/help/lighthouse-studio/manual/manual-upload.html)
305309

310+
## Setup a Windows Server to Host Lighthouse Survey
311+
312+
1. Install xampp
313+
314+
2. Place survey for manual upload in c:\xampp\htdocs\
315+
316+
3. Install Perl 5.38
317+
318+
- Avoid installing 5.40 as it's missing some essential MySQL libraries required to connect the Lighthouse survey to database which is required in order to exploit this vulnerability
319+
320+
3. Either find and replace these with #!C:/Strawberry/perl/bin/perl.exe or edit the apache config such that Apache will always send these files to Strawberry Perl
321+
- The .pl and .cgi files LightHouse generates will start with #!/usr/bin/pearl which windows will fail to interpret
322+
323+
4. Make the same edits to the Apache config as you would do on Linux to make the cgi scripts executable
324+
325+
5. Install the same Perl modules as you would during the Linux install
326+
327+
6. In phpMyAdmin, create the DB user and DB specified in the Survey you created in Lighthouse
328+
329+
7. Ensure the user has the necessary privileges over the DB
330+
331+
8. Navigate the to the /<SurveyName>/WebUpload/cgi-bin/admin.pl endpoint in the survey, authenticate with the admin credentials and ensure the the DB is connected and there were no errors durning setup
332+
306333
## Scenario
307334

308335
```

0 commit comments

Comments
 (0)