File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
modules/auxiliary/scanner/http Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ def initialize
29
29
'Brandon Knight' ,
30
30
'Pete (Bokojan) Arzamendi' , # Outlook 2013 updates
31
31
'Nate Power' , # HTTP timing option
32
- 'Chapman (R3naissance) Schleiss' # Save username in creds if response is less
32
+ 'Chapman (R3naissance) Schleiss' , # Save username in creds if response is less
33
+ 'Andrew Smith' # valid creds, no mailbox
33
34
] ,
34
35
'License' => MSF_LICENSE ,
35
36
'Actions' =>
@@ -218,6 +219,19 @@ def try_user_pass(opts)
218
219
end
219
220
220
221
# No password change required moving on.
222
+ # Check for valid login but no mailbox setup
223
+ if res . headers [ 'location' ] =~ /owa/ and res . headers [ 'location' ] !~ /reason/
224
+ print_good ( "#{ msg } SUCCESSFUL LOGIN. #{ elapsed_time } '#{ user } ' : '#{ pass } ': NOTE a mailbox is not setup" )
225
+ report_cred (
226
+ ip : datastore [ 'RHOST' ] ,
227
+ port : datastore [ 'RPORT' ] ,
228
+ service_name : 'owa' ,
229
+ user : user ,
230
+ password : pass
231
+ )
232
+ return :next_user
233
+ end
234
+
221
235
unless location = res . headers [ 'location' ]
222
236
print_error ( "#{ msg } No HTTP redirect. This is not OWA 2013, aborting." )
223
237
return :abort
You can’t perform that action at this time.
0 commit comments