J-Security Center

Title: GNU make /tmp Vulnerability

Severity: LOW

Description:

A vulnerability exists in the way GNU make handles being fed Makefile contents via standard in. GNU make will create file in /tmp, without checking to see if they already exist, or it they are in fact symbolic links. A would be attacker could simply create an appropriately named symbolic link, and point it elsewhere on the file system. In turn, they could create files owned by the user running make. If this user is root, it would be possible to obtain root privilege.

Affected Products:

  • Debian Linux 2.1.0
  • GNU make 3.77.0 -44
  • S.u.S.E. Linux 6.1.0
  • S.u.S.E. Linux 6.3.0
  • Turbolinux Turbolinux 4.2.0
  • Turbolinux Turbolinux 4.4.0
  • Turbolinux Turbolinux 6.0.2

References:

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.