What AuditX checks
The scan reads the HTML the server sends for the page you scanned. It does not use the page after scripts have changed it. It looks for every input with type password. For each one it finds the form around it and reads the form action. The check fails when the address you scanned does not start with https://, or when the action of the form around a password field starts with http://. It passes in every other case, including when the page has no password field at all, in which case the message says no insecure password forms were detected. A form with no action, a relative action on an https page and an action that starts with // are not flagged. It looks only at the page you scanned, not at other pages of the site, and it does not check whether the certificate is valid or whether a script sends the password in another way. A fail lowers the security score. The check never gives a warning or an info note, and it never caps the overall score.
Why it matters
MDN says that forms with sensitive information such as passwords, including login forms, should be served over HTTPS, and that many browsers now warn about insecure login forms.
The OWASP Transport Layer Security Cheat Sheet explains that TLS protects the confidentiality of traffic against people reading it, and its integrity against tampering. Without it, a password travels in a form that can be read on the way.
How to fix it
- Install a certificate for the site and serve the login page itself over https, not only the page it sends the data to.
- Change the action of every form that holds a password field so that it starts with https://, or use a relative path on an https page.
- Set up a redirect so that visitors who type the http address land on the https version.
- Scan the login page itself. This check reads only the page you scan, so a login on another page needs its own scan.
<form method="post" action="https://www.example.com/login">
<input type="password" name="password" autocomplete="current-password">
</form>
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my site