{"action":"created","issue":{"url":"https://api.github.com/repos/smpallen99/coherence/issues/270","repository_url":"https://api.github.com/repos/smpallen99/coherence","labels_url":"https://api.github.com/repos/smpallen99/coherence/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/smpallen99/coherence/issues/270/comments","events_url":"https://api.github.com/repos/smpallen99/coherence/issues/270/events","html_url":"https://github.com/smpallen99/coherence/issues/270","id":252005211,"node_id":"MDU6SXNzdWUyNTIwMDUyMTE=","number":270,"title":"Coherence Security Issues","user":{"login":"GriffinMB","id":6545494,"node_id":"MDQ6VXNlcjY1NDU0OTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6545494?v=4","gravatar_id":"","url":"https://api.github.com/users/GriffinMB","html_url":"https://github.com/GriffinMB","followers_url":"https://api.github.com/users/GriffinMB/followers","following_url":"https://api.github.com/users/GriffinMB/following{/other_user}","gists_url":"https://api.github.com/users/GriffinMB/gists{/gist_id}","starred_url":"https://api.github.com/users/GriffinMB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GriffinMB/subscriptions","organizations_url":"https://api.github.com/users/GriffinMB/orgs","repos_url":"https://api.github.com/users/GriffinMB/repos","events_url":"https://api.github.com/users/GriffinMB/events{/privacy}","received_events_url":"https://api.github.com/users/GriffinMB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-08-22T15:51:51Z","updated_at":"2018-06-29T05:53:02Z","closed_at":null,"author_association":"NONE","body":"Thanks again for taking the time to talk with me. I'm opening an issue as per our conversation:\r\n\r\nThe Coherence library has \"Mass Assignment\"-like vulnerabilities. In particular, \"registration\" \r\nendpoints (like creating, editing, updating), allow users to update any `coherence_fields`. This \r\nmeans that, among other issues, users can automatically confirm their accounts by sending the `confirmed_at` parameter with their registration request. Further, the library design and documentation encourages insecure functionality by default. \r\n\r\nFor example:\r\n\r\n* The \"store\" demo allows registering users to add themselves as admin: \r\nhttps://github.com/smpallen99/store/blob/master/web/models/coherence/user.ex\r\n\r\nDue to these issues, I would consider officially \"retiring\" the current version of Coherence in hex."},"comment":{"url":"https://api.github.com/repos/smpallen99/coherence/issues/comments/401254980","html_url":"https://github.com/smpallen99/coherence/issues/270#issuecomment-401254980","issue_url":"https://api.github.com/repos/smpallen99/coherence/issues/270","id":401254980,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTI1NDk4MA==","user":{"login":"newpain01","id":22168845,"node_id":"MDQ6VXNlcjIyMTY4ODQ1","avatar_url":"https://avatars2.githubusercontent.com/u/22168845?v=4","gravatar_id":"","url":"https://api.github.com/users/newpain01","html_url":"https://github.com/newpain01","followers_url":"https://api.github.com/users/newpain01/followers","following_url":"https://api.github.com/users/newpain01/following{/other_user}","gists_url":"https://api.github.com/users/newpain01/gists{/gist_id}","starred_url":"https://api.github.com/users/newpain01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newpain01/subscriptions","organizations_url":"https://api.github.com/users/newpain01/orgs","repos_url":"https://api.github.com/users/newpain01/repos","events_url":"https://api.github.com/users/newpain01/events{/privacy}","received_events_url":"https://api.github.com/users/newpain01/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T05:53:02Z","updated_at":"2018-06-29T05:53:02Z","author_association":"NONE","body":"Is this issue still not resolved? What are the recommended steps to avoid these security issues?"}}
{"actor":{"display_login":"newpain01"}}