Sitemap
Ponlavit.L

Ponlavit.L

Working on Android & iOS Framework. - C# ASP.NET, C++, Swfit 4

Security Vulnerability with Username

1 min readJun 13, 2018

This is my first blog and hope it useful :)

As we know, one of the most popular authentication method in website security is using username and password.

Nowadays when we failed login, we can found this error message.

Username or password is not correct

By using of this phrase, it mean that the hacker will definitely do not know is username is existing or not.

Get Ponlavit.L’s stories in your inbox

Join Medium for free to get updates from this writer.

Do we surely know about that?

The answer is NO, since in this two case. When we trying login with existing user and login with non existing user, the response time is totally different and can clearly see on the UI.

It is clearly that if hacker use this vulnerability. He can know for sure which username is available.

My suggestion is to use OTP or make the response time vary so that hacker will not know!

--

--

Ponlavit.L
Ponlavit.L

Written by Ponlavit.L

Working on Android & iOS Framework. - C# ASP.NET, C++, Swfit 4