Skip to content
This repository was archived by the owner on Nov 10, 2017. It is now read-only.
This repository was archived by the owner on Nov 10, 2017. It is now read-only.

[enhancement] Prevent Autocomplete Vulnerability in munkiwebadmin #23

@ghost

Description

As part of our external PCI audit munkiwebadmin has a vulnerability with django where the form password elements do not have autocomplete turned off.

Here is how to correct this:

Fix AutoComplete on Password fields

In Finder, go to /usr/local/munkiwebadmin/lib/python2.7/site-packages/django/forms
Make a copy of widgets.py
Edit widgets.py
Find "class PasswordInput(TextInput):"

On the line "def init(self, attrs=None, render_value=False):"

Replace it with

"def init(self, attrs={'autocomplete':'off'}, render_value=False):"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions