The getdbm procedure in ypxfrd allows local users to read arbitrary files and remote attackers to read databases outside /var/yp via a directory traversal and symlink attack on the domain and map arguments.