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
Post a Comment