AutoComplete Attribute Not Disabled for Password in Form Based Authentication
Created by: armorcodegithubqa[bot]
The Web server allows form based authentication without disabling the AutoComplete feature for the password field.
Autocomplete should be turned off for any input that takes sensitive information such as credit card number, CVV2/CVC code, U.S. social security number, etc. Category: Web server QID: 86729 Port: 443 Result Evidence: GET /login.jsp HTTP/1.0 Host: 65.61.137.117
<form action="doLogin" method="post" name="login" id="login" onsubmit="return (confirminput(login));"> <table> <tr> <td> Username: </td> <td> <input type="text" id="uid" name="uid" value="" style="width: 150px;"> </td> <td> </td> </tr> <tr> <td> Password: </td> <td> <input type="password" id="passw" name="passw" style="width: 150px;"> </td> </tr> <tr> <td></td> <td> <input type="submit" name="btnSubmit" value="Login"> </td> </tr> </table> </form>
GET /admin/login/?next=/admin/ HTTP/1.0 Host: 65.61.137.117
GET //login.jsp HTTP/1.0 Host: 65.61.137.117 First Found: 2021-11-15T06:23:55Z Last Found: 2021-11-15T06:23:55Z Times Found: 1
Mitigation: Contact the vendor to have the AutoComplete attribute disabled for the password field in all forms. The AutoComplete attribute should also be disabled for the user ID field.
Developers can add the following attribute to the form or input element: autocomplete="off"
This attribute prevents the browser from prompting the user to save the populated form values for later reuse.
Most browsers no longer honor autocomplete="off" for password input fields. These browsers include Chrome, Firefox, Microsoft Edge, IE, Opera
However, there is still an ability to turn off autocomplete through the browser and that is recommended for a shared computing environment.
Since the ability to turn autocomplete off for password inputs fields is controlled by the user it is highly recommended for application to enforce strong password rules.
Finding Id : 20645905