Home / Vulnerability Database / C or C++ : DNS lookup usage for an authentication
C/C++

C or C++ : DNS lookup usage for an authentication

Classification

OWASP Top 10 2021
CWE/SANS Top 25 2011

Overview

Usage of gethostbyaddr and gethostbyname functions for an authentication purposes is unsafe because of the return value could be modified by an attacker.

References

LOW

DerScanner Severity Score

Do you want to fix C or C++ : DNS lookup usage for an authentication in your application?

See also

C/C++

C or C++ : Dead store

C/C++

C or C++ : Use after free

C/C++

C or C++ : va_list uninitialized