SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


Try our Premium Alert Service
 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service





Category:   Application (Generic)  >   Ppp Vendors:   Santa Cruz Operations
SCO UnixWare Buffer Overflow in ppp Lets Local Users Gain Root Privileges
SecurityTracker Alert ID:  1015098
SecurityTracker URL:  http://securitytracker.com/id/1015098
CVE Reference:   CVE-2005-2927   (Links to External Site)
Date:  Oct 25 2005
Impact:   Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   iDEFENSE reported a vulnerability in ppp on SCO UnixWare. A local user can gain root privileges on the target system.

A local user can supply a specially crafted 'prompt' or 'defprompt' command parameter that is greater than 256 bytes in length to trigger a buffer overflow and execute arbitrary code on the target system. The code will run with root user privileges.

The vendor was notified on September 8, 2005.

iDEFENSE Labs discovered this vulnerability.

The original advisory is available at:

http://www.idefense.com/application/poi/display?id=326&type=vulnerabilities

Impact:   A local user can execute arbitrary code with root privileges.
Solution:   The vendor has issued the following fixes.

For UnixWare 7.1.4:

Location of Fixed Binaries

ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.41

Verification

MD5 (erg712940.uw714.pkg.Z) = d47a9958e6dfd44c9b95e1d9489011f4

Upgrade the affected binaries with the following sequence:

Download erg712940.uw714.pkg.Z to the /var/spool/pkg directory

# uncompress /var/spool/pkg/erg712940.uw714.pkg.Z
# pkgadd -d /var/spool/pkg/erg712940.uw714.pkg


For UnixWare 7.1.3:

Location of Fixed Binaries

ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.41

Verification

MD5 (erg712940.uw713.pkg.Z) = 474799fc2cda9db5c486880599e1cdcc

Upgrade the affected binaries with the following sequence:

Download erg712940.uw713.pkg.Z to the /var/spool/pkg directory

# uncompress /var/spool/pkg/erg712940.uw713.pkg.Z
# pkgadd -d /var/spool/pkg/erg712940.uw713.pkg

The vendor's advisory is available at:

ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.41/SCOSA-2005.41.txt

Vendor URL:  www.sco.com/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  UNIX (Open UNIX-SCO)

Message History:   None.


 Source Message Contents

Subject:  iDEFENSE Security Advisory 10.24.05: SCO Unixware Setuid ppp prompt

SCO Unixware Setuid ppp prompt Buffer Overflow Vulnerability

iDEFENSE Security Advisory 10.24.05
http://www.idefense.com/application/poi/display?type=vulnerabilities
October 24, 2005

I. BACKGROUND

SCO UnixWare is a UNIX operating system.

More information is available at:

  http://www.sco.com/products/unixware714/

II. DESCRIPTION

Local exploitation of a buffer overflow vulnerability in the ppp binary,

as included in multiple versions of The SCO Group Inc.'s Unixware, 
allows attackers to gain root privileges.

The vulnerability specifically exists because of a failure to check the 
length of user input. If the user running the ppp program enters an 
argument to the "prompt" or "defprompt" command that exceeds 256 bytes
in 
length, a stack based overflow occurs. This leads to the execution of 
arbitrary code with root privileges, as ppp is setuid root by default.

III. ANALYSIS

Successful exploitation of this vulnerability requires that user have 
local access to the system; it would allow the user to gain superuser 
privileges.

IV. DETECTION

iDEFENSE has confirmed the existence of this vulnerability in SCO 
Unixware versions 7.1.3 and 7.1.4. All versions of SCO Unixware are 
suspected to be vulnerable.

V. WORKAROUND

As a workaround solution, remove the setuid bit from the backupsh binary

until a vendor patch can be applied.

  # chmod u-s /usr/bin/ppp 

VI. VENDOR RESPONSE

The vendor has released the following advisory for this issue:

  ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2005.41/SCOSA-2005.41.txt

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2005-2927 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

09/08/2005  Initial vendor notification
09/09/2005  Initial vendor response
10/24/2005  Public disclosure

IX. CREDIT

iDEFENSE Labs is credited with the discovery of this vulnerability.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
http://labs.idefense.com

X. LEGAL NOTICES

Copyright (c) 2005 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2018, SecurityGlobal.net LLC