{"action":"opened","issue":{"url":"https://api.github.com/repos/munki/munkiwebadmin/issues/23","labels_url":"https://api.github.com/repos/munki/munkiwebadmin/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/munki/munkiwebadmin/issues/23/comments","events_url":"https://api.github.com/repos/munki/munkiwebadmin/issues/23/events","html_url":"https://github.com/munki/munkiwebadmin/issues/23","id":78060681,"number":23,"title":"[enhancement] Prevent Autocomplete Vulnerability in munkiwebadmin","user":{"login":"computeronix","id":11186939,"avatar_url":"https://avatars.githubusercontent.com/u/11186939?v=3","gravatar_id":"","url":"https://api.github.com/users/computeronix","html_url":"https://github.com/computeronix","followers_url":"https://api.github.com/users/computeronix/followers","following_url":"https://api.github.com/users/computeronix/following{/other_user}","gists_url":"https://api.github.com/users/computeronix/gists{/gist_id}","starred_url":"https://api.github.com/users/computeronix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/computeronix/subscriptions","organizations_url":"https://api.github.com/users/computeronix/orgs","repos_url":"https://api.github.com/users/computeronix/repos","events_url":"https://api.github.com/users/computeronix/events{/privacy}","received_events_url":"https://api.github.com/users/computeronix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-19T12:06:59Z","updated_at":"2015-05-19T12:06:59Z","closed_at":null,"body":"As part of our external PCI audit munkiwebadmin has a vulnerability with django where the form password elements do not have autocomplete turned off.\r\n\r\nHere is how to correct this:\r\n\r\nFix AutoComplete on Password fields\r\n\r\nIn Finder, go to /usr/local/munkiwebadmin/lib/python2.7/site-packages/django/forms\r\nMake a copy of widgets.py\r\nEdit widgets.py\r\nFind \"class PasswordInput(TextInput):\"\r\n\r\nOn the line \"def __init__(self, attrs=None, render_value=False):\"\r\n\r\nReplace it with\r\n\r\n\"def __init__(self, attrs={'autocomplete':'off'}, render_value=False):\""}}