J-Security Center

Title: HP-UX setrlimit() Incorrect Core Processing Vulnerability

Severity: LOW

Description:

HP-UX contains a vulnerability in it's implementation of setrlimit().

The setrlimit() system call permits an administrator to set a maximum amount of allowable resource usage for a process and it's children. One of the limits that can be set is the maximum size of the core file, in bytes, that can be written to disk when the process dumps core.

After a setuid process drops privileges, limits placed on core file generation via setrlimit() are not enforced. If an attacker causes the process to dump core, it will, even if the size is greater than that set as the limit.

An attacker could exploit this to create core files that consume excessive disk space.

It may also be possible to attach to setuid processes that have dropped privileges with a debugger. If this is possible, attackers may be able to read memory contents and access possibly sensitive information. This is not yet verified and may warrant an independent vulnerability database record.

Affected Products:

  • HP HP-UX (VVOS) 10.24.0
  • HP HP-UX (VVOS) 11.0.4
  • HP HP-UX 10.0.01
  • HP HP-UX 10.1.0 0
  • HP HP-UX 10.20.0
  • HP HP-UX 10.26.0
  • HP HP-UX 11.0.0
  • HP HP-UX 11.11.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.