{"action":"closed","number":5420,"pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5420","id":36295686,"html_url":"https://github.com/rapid7/metasploit-framework/pull/5420","diff_url":"https://github.com/rapid7/metasploit-framework/pull/5420.diff","patch_url":"https://github.com/rapid7/metasploit-framework/pull/5420.patch","issue_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5420","number":5420,"state":"closed","locked":false,"title":"Miniigd command injection","user":{"login":"m-1-k-3","id":497520,"avatar_url":"https://avatars.githubusercontent.com/u/497520?v=3","gravatar_id":"","url":"https://api.github.com/users/m-1-k-3","html_url":"https://github.com/m-1-k-3","followers_url":"https://api.github.com/users/m-1-k-3/followers","following_url":"https://api.github.com/users/m-1-k-3/following{/other_user}","gists_url":"https://api.github.com/users/m-1-k-3/gists{/gist_id}","starred_url":"https://api.github.com/users/m-1-k-3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-1-k-3/subscriptions","organizations_url":"https://api.github.com/users/m-1-k-3/orgs","repos_url":"https://api.github.com/users/m-1-k-3/repos","events_url":"https://api.github.com/users/m-1-k-3/events{/privacy}","received_events_url":"https://api.github.com/users/m-1-k-3/received_events","type":"User","site_admin":false},"body":"This module exploits the vulnerability discovered by Ricky \"HeadlessZeke\" Lawshae and documented in ZDI-15-155: http://www.zerodayinitiative.com/advisories/ZDI-15-155/\r\nMore details: http://h30499.www3.hp.com/t5/HP-Security-Research-Blog/Software-Development-KITchen-sink/ba-p/6745115#.VWVfsM_tmko\r\n\r\nScreenshot:\r\n![realtek_command_injection](https://cloud.githubusercontent.com/assets/497520/7835243/7f4fab6e-0477-11e5-8559-dbdd1ee794a4.png)\r\n\r\nYou can verify this exploit in emulation:\r\n* Firmware Image: http://www.trendnet.com/support/supportdetail.asp?prod=230_TEW-731BR\r\n* binwalk it\r\n* copy to a debian aurel MIPS-BE machine\r\n* fix it:\r\n```\r\nmkdir -p var/linuxigd\r\ncp etc/tmp/pics* var/linuxigd\r\n\r\necho \"\" > etc/miniigd.conf\r\n```\r\n* start miniigd:\r\n```chroot . ./bin/miniigd -i eth0 -s 0 -e 1.1.1.1```\r\n* wait a few seconds and check it  with netstat\r\n* exploit it","created_at":"2015-05-27T11:56:14Z","updated_at":"2015-05-29T18:29:23Z","closed_at":"2015-05-29T18:29:23Z","merged_at":"2015-05-29T18:29:23Z","merge_commit_sha":"66efc0d5051d43aca5775dc4b3208cc2ef146837","assignee":{"login":"jvazquez-r7","id":1742838,"avatar_url":"https://avatars.githubusercontent.com/u/1742838?v=3","gravatar_id":"","url":"https://api.github.com/users/jvazquez-r7","html_url":"https://github.com/jvazquez-r7","followers_url":"https://api.github.com/users/jvazquez-r7/followers","following_url":"https://api.github.com/users/jvazquez-r7/following{/other_user}","gists_url":"https://api.github.com/users/jvazquez-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/jvazquez-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvazquez-r7/subscriptions","organizations_url":"https://api.github.com/users/jvazquez-r7/orgs","repos_url":"https://api.github.com/users/jvazquez-r7/repos","events_url":"https://api.github.com/users/jvazquez-r7/events{/privacy}","received_events_url":"https://api.github.com/users/jvazquez-r7/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5420/commits","review_comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5420/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/5420/comments","statuses_url":"https://api.github.com/repos/rapid7/metasploit-framework/statuses/53043dcbbcea27dc95238c0fa607852ddef839af","head":{"label":"m-1-k-3:miniigd_command_injection","ref":"miniigd_command_injection","sha":"53043dcbbcea27dc95238c0fa607852ddef839af","user":{"login":"m-1-k-3","id":497520,"avatar_url":"https://avatars.githubusercontent.com/u/497520?v=3","gravatar_id":"","url":"https://api.github.com/users/m-1-k-3","html_url":"https://github.com/m-1-k-3","followers_url":"https://api.github.com/users/m-1-k-3/followers","following_url":"https://api.github.com/users/m-1-k-3/following{/other_user}","gists_url":"https://api.github.com/users/m-1-k-3/gists{/gist_id}","starred_url":"https://api.github.com/users/m-1-k-3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-1-k-3/subscriptions","organizations_url":"https://api.github.com/users/m-1-k-3/orgs","repos_url":"https://api.github.com/users/m-1-k-3/repos","events_url":"https://api.github.com/users/m-1-k-3/events{/privacy}","received_events_url":"https://api.github.com/users/m-1-k-3/received_events","type":"User","site_admin":false},"repo":{"id":3162215,"name":"metasploit-framework","full_name":"m-1-k-3/metasploit-framework","owner":{"login":"m-1-k-3","id":497520,"avatar_url":"https://avatars.githubusercontent.com/u/497520?v=3","gravatar_id":"","url":"https://api.github.com/users/m-1-k-3","html_url":"https://github.com/m-1-k-3","followers_url":"https://api.github.com/users/m-1-k-3/followers","following_url":"https://api.github.com/users/m-1-k-3/following{/other_user}","gists_url":"https://api.github.com/users/m-1-k-3/gists{/gist_id}","starred_url":"https://api.github.com/users/m-1-k-3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-1-k-3/subscriptions","organizations_url":"https://api.github.com/users/m-1-k-3/orgs","repos_url":"https://api.github.com/users/m-1-k-3/repos","events_url":"https://api.github.com/users/m-1-k-3/events{/privacy}","received_events_url":"https://api.github.com/users/m-1-k-3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m-1-k-3/metasploit-framework","description":"Metasploit Framework","fork":true,"url":"https://api.github.com/repos/m-1-k-3/metasploit-framework","forks_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/forks","keys_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/teams","hooks_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/hooks","issue_events_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/issues/events{/number}","events_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/events","assignees_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/assignees{/user}","branches_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/branches{/branch}","tags_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/tags","blobs_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/languages","stargazers_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/stargazers","contributors_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/contributors","subscribers_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/subscribers","subscription_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/subscription","commits_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/contents/{+path}","compare_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/merges","archive_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/downloads","issues_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/issues{/number}","pulls_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/labels{/name}","releases_url":"https://api.github.com/repos/m-1-k-3/metasploit-framework/releases{/id}","created_at":"2012-01-12T13:11:43Z","updated_at":"2015-04-30T13:47:19Z","pushed_at":"2015-05-28T16:51:29Z","git_url":"git://github.com/m-1-k-3/metasploit-framework.git","ssh_url":"git@github.com:m-1-k-3/metasploit-framework.git","clone_url":"https://github.com/m-1-k-3/metasploit-framework.git","svn_url":"https://github.com/m-1-k-3/metasploit-framework","homepage":"http://www.metasploit.com/","size":273602,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":7,"default_branch":"master"}},"base":{"label":"rapid7:master","ref":"master","sha":"f81c08e0d9461bfeb6b6517d7bf1f5eb05d1dba6","user":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","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,"name":"metasploit-framework","full_name":"rapid7/metasploit-framework","owner":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","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},"private":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}","created_at":"2011-08-30T06:13:20Z","updated_at":"2015-05-29T15:57:13Z","pushed_at":"2015-05-29T18:29:18Z","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":"http://www.metasploit.com/","size":1072541,"stargazers_count":3828,"watchers_count":3828,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3106,"mirror_url":null,"open_issues_count":202,"forks":3106,"open_issues":202,"watchers":3828,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5420"},"html":{"href":"https://github.com/rapid7/metasploit-framework/pull/5420"},"issue":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5420"},"comments":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5420/comments"},"review_comments":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5420/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/5420/commits"},"statuses":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/statuses/53043dcbbcea27dc95238c0fa607852ddef839af"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jvazquez-r7","id":1742838,"avatar_url":"https://avatars.githubusercontent.com/u/1742838?v=3","gravatar_id":"","url":"https://api.github.com/users/jvazquez-r7","html_url":"https://github.com/jvazquez-r7","followers_url":"https://api.github.com/users/jvazquez-r7/followers","following_url":"https://api.github.com/users/jvazquez-r7/following{/other_user}","gists_url":"https://api.github.com/users/jvazquez-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/jvazquez-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvazquez-r7/subscriptions","organizations_url":"https://api.github.com/users/jvazquez-r7/orgs","repos_url":"https://api.github.com/users/jvazquez-r7/repos","events_url":"https://api.github.com/users/jvazquez-r7/events{/privacy}","received_events_url":"https://api.github.com/users/jvazquez-r7/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":144,"deletions":0,"changed_files":1}}