J-Security Center

Title: Debian man-db Executable Overwrite Vulnerability

Severity: MODERATE

Description:

man-db is the Debian package used to display on-line help files.

Affected versions of this utility improperly set write permissions in manual page directories. The settings provide write access to the directories in which man creates a temporary database. However, they also render it possible for the invoking 'man' user to overwrite the mandb binary itself, potentially replacing it with malicious code.

Since mandb assumes the privilege level of the user running it, the possibility of a user replacing the program with a hostile binary prior to its execution by a privileged user (including root) has serious security implications for the vulnerable host.

Affected Products:

  • Debian Linux 2.2.0
  • Progeny Debian 1.0.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.