User credentials are considered sensitive information, should always be transferred to the server over an encrypted connection (HTTPS) also it should be encrypted using stronger algorithm. The application should use transport-level encryption (SSL or TLS) to protect all sensitive communications passing between the client and the server.
CWE ? 319
CWE ? 310
OWASP (A3)
If the input from the users received are of plain text, it will become easier for hackers to bypass and change the contents in the input by just using any intercepting tools. This also lets hackers get the user input details. This becomes a threat for confidentiality and integrity of the data passing over the wire.
While this attack is serious for mobile applications, it applies to the browser based applications which are business critical. It?s the organizations responsibility to keep their customers and users credentials safe and confidential. However by letting the user credentials be sent as plain text to the server it?s hampering the confidentiality of the customers/user.
Using intercepting tools, hackers can either intercept and modify the input sent by user before it reaches the server or he can intercept and steal the user credentials. Either ways it?s a threat for confidentiality and integrity.
To ensure safety from such attacks and to keep the users details confidential following steps should be ensured: