FreeBSD gdc Local Overflow

1999-11-30T00:00:00
ID OSVDB:5999
Type osvdb
Reporter Brock Tellier(btellier@webley.com)
Modified 1999-11-30T00:00:00

Description

Vulnerability Description

A local overflow exists in FreeBSD. The gdc fails to check boundaries resulting in a buffer overflow. With a specially crafted request, in which the -t flag (time) in a gdc argument exceeds its predefined buffer length, an attacker who is in the wheel group can execute arbitrary code resulting in a loss of integrity.

Solution Description

Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround: remove the setuid bit from gdc.

Short Description

A local overflow exists in FreeBSD. The gdc fails to check boundaries resulting in a buffer overflow. With a specially crafted request, in which the -t flag (time) in a gdc argument exceeds its predefined buffer length, an attacker who is in the wheel group can execute arbitrary code resulting in a loss of integrity.

References:

Vendor URL: http://www.freebsd.org Mail List Post: http://archives.neohapsis.com/archives/bugtraq/1999-q4/0146.html Mail List Post: http://archives.neohapsis.com/archives/bugtraq/1999-q4/0185.html ISS X-Force ID: 3739 Generic Exploit URL: http://downloads.securityfocus.com/vulnerabilities/exploits/gdc-exp.c CVE-1999-0855 Bugtraq ID: 834