J-Security Center

Title: WMCube/GDK Object File Buffer Overflow Vulnerability

Severity: MODERATE

Description:

WMCube/GDK is a freely available, open source application for monitoring CPU load. It can be used with one, or multiple CPU's.

A problem with WMCube/GDK could make it possible for a local user to gain elevated privileges. The problem is in the handling of object files.

WMCube/GDK allows the loading of object files by executing users. A user may specify their own object file to be loaded by the program using the -o flag.

WMCube/GDK does not properly impose the limit of 64 byte object files hard-coded into the program. Because of this, it is possible for a local user to load an object file greater than 64 bytes, creating a buffer overflow. This overflow could be used to overwrite stack variables, including the return address, and execute arbitrary code.

A local attacker may gain egid 'kmem', which allows for reading of kernel memory. Elevation to root is imminent when attackers can read kmem.

Affected Products:

  • Timecop WMCube/GDK 0.98.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.