J-Security Center

Title: HP-UX cu Buffer Overflow Vulnerability

Severity: HIGH

Description:

cu is a unix utility that is used for communication between two hosts (usually over phone lines). It is typically isntalled setuid root so that it can access communications hardware when executed by a regular user.

The version of cu that ships with HP-UX is vulnerable to a buffer overflow attack that may result in an escalation of privileges if exploited properly. The argument to the -l option (the line) is handled in an unsafe manner and if the length of it exceeds 9777 bytes, it will corrupt vital stack variables. This may result in shellcode provided by the user being executed with the privileges of the process (euid 0).

Affected Products:

  • HP HP-UX (VVOS) 11.0.4
  • HP HP-UX 10.0.0 1
  • HP HP-UX 10.10.0
  • HP HP-UX 10.20.0
  • HP HP-UX 11.0.0
  • HP HP-UX 11.11.0
  • HP HP-UX 9.0.0
  • HP HP-UX 9.1.0
  • HP HP-UX 9.10.0
  • HP HP-UX 9.4.0
  • HP HP-UX 9.5.0
  • HP HP-UX 9.6.0
  • HP HP-UX 9.7.0
  • HP HP-UX 9.8.0
  • HP HP-UX 9.9.0

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.