J-Security Center

Title: GNU finger Privilege Dropping Vulnerabilities

Severity: HIGH

Description:

There are two vulnerabilities in the GNU finger package downloadable from metalab that have to do with proper privilege dropping. The finger daemon runs as root by default and responds to finger queries for information on the system's users. The first vulnerability allows a malicious user to have an arbitrary program run with gid 0 if the use of .fingerrc is permitted. This is because fingerd drops the uid (0) before gid, leaving itself lacking the permission to drop the gid. The second vulnerability allows an attacker to create a symbolic link from .plan, .forward or .project that fingerd will follow and read with uid 0 (ie. .plan -> /etc/shadow). These vulnerabilities are not new, they were exposed in 1995 on BugTraq and remain unfixed to this day.

Affected Products:

  • GNU finger 1.37.0

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.