Skip to content

Commit b8cf458

Browse files
committed
the check routine was getting the /_layouts/15/error.aspx page, this will not be accessable unless Forms Based Authentication (FBA) is enabled on the site. A better choice is /_layouts/15/start.aspx as this is accessible regardless of FBA being enabled. Thanks @alexey-at-work-bc for identifying this and sugesting a fix.
1 parent 7838e06 commit b8cf458

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/http/sharepoint_toolpane_rce.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def initialize(info = {})
8686
def check
8787
res = send_request_cgi(
8888
'method' => 'GET',
89-
'uri' => normalize_uri(target_uri.path, '_layouts', '15', 'error.aspx')
89+
'uri' => normalize_uri(target_uri.path, '_layouts', '15', 'start.aspx')
9090
)
9191

9292
return CheckCode::Unknown('Connection failed') unless res

0 commit comments

Comments
 (0)