Fortify Often Misused Authentication java.net.InetAddress -


we using fortify static code analysis. 1 of issue reported fortify scan "often misused: authentication". issue flagged occurrences of usage of 1 of following methods class "java.net.inetaddress".

getaddress() getbyname(bindaddress) gethostname() gethostaddress() getcanonicalhostname() getlocalhost() getallbyname() 

what ideal fix same?

one possible way suggested here, not sure have other ways address issue.

thanks

the vulnerability warning developer not trust output these. 1 effective way determine whether server ssl. sounds on application getting list of servers , forward authentication request them. if user connecting via ssl authenticate machines, shouldn't problem (as long connection isn't allowed self-signed certificates)


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -