{"action":"opened","number":238,"pull_request":{"url":"https://api.github.com/repos/Pligg/pligg-cms/pulls/238","id":55581580,"html_url":"https://github.com/Pligg/pligg-cms/pull/238","diff_url":"https://github.com/Pligg/pligg-cms/pull/238.diff","patch_url":"https://github.com/Pligg/pligg-cms/pull/238.patch","issue_url":"https://api.github.com/repos/Pligg/pligg-cms/issues/238","number":238,"state":"open","locked":false,"title":"Fix a SQL injection vulnerability in the upload module","user":{"login":"codedust","id":7175914,"avatar_url":"https://avatars.githubusercontent.com/u/7175914?v=3","gravatar_id":"","url":"https://api.github.com/users/codedust","html_url":"https://github.com/codedust","followers_url":"https://api.github.com/users/codedust/followers","following_url":"https://api.github.com/users/codedust/following{/other_user}","gists_url":"https://api.github.com/users/codedust/gists{/gist_id}","starred_url":"https://api.github.com/users/codedust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codedust/subscriptions","organizations_url":"https://api.github.com/users/codedust/orgs","repos_url":"https://api.github.com/users/codedust/repos","events_url":"https://api.github.com/users/codedust/events{/privacy}","received_events_url":"https://api.github.com/users/codedust/received_events","type":"User","site_admin":false},"body":"This vulnerability allows an attacker to inject SQL code into the SQL\r\nquerys containing `$_POST['comment']` in `modules/upload/upload.php` because\r\nthe contents of the parameter `$_POST['comment']` are not checked.","created_at":"2016-01-11T02:03:21Z","updated_at":"2016-01-11T02:03:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Pligg/pligg-cms/pulls/238/commits","review_comments_url":"https://api.github.com/repos/Pligg/pligg-cms/pulls/238/comments","review_comment_url":"https://api.github.com/repos/Pligg/pligg-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Pligg/pligg-cms/issues/238/comments","statuses_url":"https://api.github.com/repos/Pligg/pligg-cms/statuses/0ccb61f250e6928892467244a53e9ab685667ebf","head":{"label":"codedust:pr-fix-sql-injection-upload.php","ref":"pr-fix-sql-injection-upload.php","sha":"0ccb61f250e6928892467244a53e9ab685667ebf","user":{"login":"codedust","id":7175914,"avatar_url":"https://avatars.githubusercontent.com/u/7175914?v=3","gravatar_id":"","url":"https://api.github.com/users/codedust","html_url":"https://github.com/codedust","followers_url":"https://api.github.com/users/codedust/followers","following_url":"https://api.github.com/users/codedust/following{/other_user}","gists_url":"https://api.github.com/users/codedust/gists{/gist_id}","starred_url":"https://api.github.com/users/codedust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codedust/subscriptions","organizations_url":"https://api.github.com/users/codedust/orgs","repos_url":"https://api.github.com/users/codedust/repos","events_url":"https://api.github.com/users/codedust/events{/privacy}","received_events_url":"https://api.github.com/users/codedust/received_events","type":"User","site_admin":false},"repo":{"id":49395735,"name":"pligg-cms","full_name":"codedust/pligg-cms","owner":{"login":"codedust","id":7175914,"avatar_url":"https://avatars.githubusercontent.com/u/7175914?v=3","gravatar_id":"","url":"https://api.github.com/users/codedust","html_url":"https://github.com/codedust","followers_url":"https://api.github.com/users/codedust/followers","following_url":"https://api.github.com/users/codedust/following{/other_user}","gists_url":"https://api.github.com/users/codedust/gists{/gist_id}","starred_url":"https://api.github.com/users/codedust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codedust/subscriptions","organizations_url":"https://api.github.com/users/codedust/orgs","repos_url":"https://api.github.com/users/codedust/repos","events_url":"https://api.github.com/users/codedust/events{/privacy}","received_events_url":"https://api.github.com/users/codedust/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codedust/pligg-cms","description":"Pligg Content Management System","fork":true,"url":"https://api.github.com/repos/codedust/pligg-cms","forks_url":"https://api.github.com/repos/codedust/pligg-cms/forks","keys_url":"https://api.github.com/repos/codedust/pligg-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codedust/pligg-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codedust/pligg-cms/teams","hooks_url":"https://api.github.com/repos/codedust/pligg-cms/hooks","issue_events_url":"https://api.github.com/repos/codedust/pligg-cms/issues/events{/number}","events_url":"https://api.github.com/repos/codedust/pligg-cms/events","assignees_url":"https://api.github.com/repos/codedust/pligg-cms/assignees{/user}","branches_url":"https://api.github.com/repos/codedust/pligg-cms/branches{/branch}","tags_url":"https://api.github.com/repos/codedust/pligg-cms/tags","blobs_url":"https://api.github.com/repos/codedust/pligg-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codedust/pligg-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codedust/pligg-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/codedust/pligg-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codedust/pligg-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/codedust/pligg-cms/languages","stargazers_url":"https://api.github.com/repos/codedust/pligg-cms/stargazers","contributors_url":"https://api.github.com/repos/codedust/pligg-cms/contributors","subscribers_url":"https://api.github.com/repos/codedust/pligg-cms/subscribers","subscription_url":"https://api.github.com/repos/codedust/pligg-cms/subscription","commits_url":"https://api.github.com/repos/codedust/pligg-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/codedust/pligg-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/codedust/pligg-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/codedust/pligg-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/codedust/pligg-cms/contents/{+path}","compare_url":"https://api.github.com/repos/codedust/pligg-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codedust/pligg-cms/merges","archive_url":"https://api.github.com/repos/codedust/pligg-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codedust/pligg-cms/downloads","issues_url":"https://api.github.com/repos/codedust/pligg-cms/issues{/number}","pulls_url":"https://api.github.com/repos/codedust/pligg-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/codedust/pligg-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/codedust/pligg-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codedust/pligg-cms/labels{/name}","releases_url":"https://api.github.com/repos/codedust/pligg-cms/releases{/id}","created_at":"2016-01-11T02:01:52Z","updated_at":"2016-01-11T02:01:54Z","pushed_at":"2016-01-11T02:02:24Z","git_url":"git://github.com/codedust/pligg-cms.git","ssh_url":"git@github.com:codedust/pligg-cms.git","clone_url":"https://github.com/codedust/pligg-cms.git","svn_url":"https://github.com/codedust/pligg-cms","homepage":"http://pligg.com","size":22379,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Pligg:master","ref":"master","sha":"3b4c70ec28a739da5141a0aa185b57d0ef0c01a9","user":{"login":"Pligg","id":2080280,"avatar_url":"https://avatars.githubusercontent.com/u/2080280?v=3","gravatar_id":"","url":"https://api.github.com/users/Pligg","html_url":"https://github.com/Pligg","followers_url":"https://api.github.com/users/Pligg/followers","following_url":"https://api.github.com/users/Pligg/following{/other_user}","gists_url":"https://api.github.com/users/Pligg/gists{/gist_id}","starred_url":"https://api.github.com/users/Pligg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pligg/subscriptions","organizations_url":"https://api.github.com/users/Pligg/orgs","repos_url":"https://api.github.com/users/Pligg/repos","events_url":"https://api.github.com/users/Pligg/events{/privacy}","received_events_url":"https://api.github.com/users/Pligg/received_events","type":"Organization","site_admin":false},"repo":{"id":11161198,"name":"pligg-cms","full_name":"Pligg/pligg-cms","owner":{"login":"Pligg","id":2080280,"avatar_url":"https://avatars.githubusercontent.com/u/2080280?v=3","gravatar_id":"","url":"https://api.github.com/users/Pligg","html_url":"https://github.com/Pligg","followers_url":"https://api.github.com/users/Pligg/followers","following_url":"https://api.github.com/users/Pligg/following{/other_user}","gists_url":"https://api.github.com/users/Pligg/gists{/gist_id}","starred_url":"https://api.github.com/users/Pligg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pligg/subscriptions","organizations_url":"https://api.github.com/users/Pligg/orgs","repos_url":"https://api.github.com/users/Pligg/repos","events_url":"https://api.github.com/users/Pligg/events{/privacy}","received_events_url":"https://api.github.com/users/Pligg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Pligg/pligg-cms","description":"Pligg Content Management System","fork":false,"url":"https://api.github.com/repos/Pligg/pligg-cms","forks_url":"https://api.github.com/repos/Pligg/pligg-cms/forks","keys_url":"https://api.github.com/repos/Pligg/pligg-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pligg/pligg-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pligg/pligg-cms/teams","hooks_url":"https://api.github.com/repos/Pligg/pligg-cms/hooks","issue_events_url":"https://api.github.com/repos/Pligg/pligg-cms/issues/events{/number}","events_url":"https://api.github.com/repos/Pligg/pligg-cms/events","assignees_url":"https://api.github.com/repos/Pligg/pligg-cms/assignees{/user}","branches_url":"https://api.github.com/repos/Pligg/pligg-cms/branches{/branch}","tags_url":"https://api.github.com/repos/Pligg/pligg-cms/tags","blobs_url":"https://api.github.com/repos/Pligg/pligg-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pligg/pligg-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pligg/pligg-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pligg/pligg-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pligg/pligg-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/Pligg/pligg-cms/languages","stargazers_url":"https://api.github.com/repos/Pligg/pligg-cms/stargazers","contributors_url":"https://api.github.com/repos/Pligg/pligg-cms/contributors","subscribers_url":"https://api.github.com/repos/Pligg/pligg-cms/subscribers","subscription_url":"https://api.github.com/repos/Pligg/pligg-cms/subscription","commits_url":"https://api.github.com/repos/Pligg/pligg-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pligg/pligg-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pligg/pligg-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pligg/pligg-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pligg/pligg-cms/contents/{+path}","compare_url":"https://api.github.com/repos/Pligg/pligg-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pligg/pligg-cms/merges","archive_url":"https://api.github.com/repos/Pligg/pligg-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pligg/pligg-cms/downloads","issues_url":"https://api.github.com/repos/Pligg/pligg-cms/issues{/number}","pulls_url":"https://api.github.com/repos/Pligg/pligg-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/Pligg/pligg-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/Pligg/pligg-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pligg/pligg-cms/labels{/name}","releases_url":"https://api.github.com/repos/Pligg/pligg-cms/releases{/id}","created_at":"2013-07-03T20:54:26Z","updated_at":"2016-01-02T01:28:05Z","pushed_at":"2015-11-10T12:53:18Z","git_url":"git://github.com/Pligg/pligg-cms.git","ssh_url":"git@github.com:Pligg/pligg-cms.git","clone_url":"https://github.com/Pligg/pligg-cms.git","svn_url":"https://github.com/Pligg/pligg-cms","homepage":"http://pligg.com","size":25291,"stargazers_count":116,"watchers_count":116,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":109,"mirror_url":null,"open_issues_count":97,"forks":109,"open_issues":97,"watchers":116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Pligg/pligg-cms/pulls/238"},"html":{"href":"https://github.com/Pligg/pligg-cms/pull/238"},"issue":{"href":"https://api.github.com/repos/Pligg/pligg-cms/issues/238"},"comments":{"href":"https://api.github.com/repos/Pligg/pligg-cms/issues/238/comments"},"review_comments":{"href":"https://api.github.com/repos/Pligg/pligg-cms/pulls/238/comments"},"review_comment":{"href":"https://api.github.com/repos/Pligg/pligg-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Pligg/pligg-cms/pulls/238/commits"},"statuses":{"href":"https://api.github.com/repos/Pligg/pligg-cms/statuses/0ccb61f250e6928892467244a53e9ab685667ebf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":2,"changed_files":1}}