Sun Solaris newgrp(1) command buffer overflow

solaris-newgrp-bo (19729) The risk level is classified as HighHigh Risk

Description:

Sun Solaris is vulnerable to a buffer overflow, caused by improper bounds checking of user-supplied input in the newgrp(1) command. A local attacker could overflow a buffer in the newgrp(1) command to execute arbitrary code on the system with root privileges.


Consequences:

Gain Privileges

Remedy:

For Sun Solaris:
Apply the appropriate patch for your system, as listed below. Refer to Sun Alert ID: 57710 for more information. See References.

Solaris 7 (SPARC): 118737-01 or later
Solaris 8 (SPARC): 116993-01 or later
Solaris 9 (SPARC)h: 117445-01 or later

Solaris 7 (x86): 118738-01 or later
Solaris 8 (x86)h: 116994-01 or later
Solaris 9 (x86): 117446-01 or later

References:

  • Sun Alert ID: 57710: Security Vulnerability in the newgpr(1) Command May Allow Unauthorized Root Privileges .
  • BID-12838: Sun Solaris NewGRP Local Buffer Overflow Vulnerability
  • CVE-2005-0816: Buffer overflow in newgrp in Solaris 7 through 9 allows local users to gain root privileges.
  • SECTRACK ID: 1013462: Sun Solaris newgrp(1) Buffer Overflow Lets Remote Users Gain Root Privileges

Platforms Affected:

  • Sun Solaris 7.0 x86
  • Sun Solaris 7.0 SPARC
  • Sun Solaris 8 SPARC
  • Sun Solaris 8 x86
  • Sun Solaris 9 SPARC
  • Sun Solaris 9 x86

Reported:

Mar 16, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page