Vulnerability Name:

CVE-2005-4741 (CCN-25362)

Assigned:2005-11-01
Published:2005-11-01
Updated:2008-09-05
Summary:NetBSD 1.6, NetBSD 2.0 through 2.1, and NetBSD-current before 20051031 allows local users to gain privileges by attaching a debugger to a setuid/setgid (P_SUGID) process that performs an exec without a reset of real credentials.
CVSS v3 Severity:7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-Other
Vulnerability Consequences:Gain Privileges
References:Source: NETBSD
Type: UNKNOWN
NetBSD-SA2005-013

Source: CCN
Type: Full-Disclosure Mailing List, Sun Nov 06 2005 - 18:16:49 CST
http://prdelka.blackart.org.uk/exploitz/prdelka-vs-BSD-ptrace.tar.gz

Source: FULLDISC
Type: UNKNOWN
20051106 http://prdelka.blackart.org.uk/exploitz/prdelka-vs-BSD-ptrace.tar.gz

Source: CCN
Type: NetBSD Security Advisory 2005-013
ptrace() permissions after S[UG]ID and exec()

Source: MITRE
Type: CNA
CVE-2005-4741

Source: CONFIRM
Type: Patch
http://mail-index.netbsd.org/source-changes/2005/10/31/0001.html

Source: MISC
Type: UNKNOWN
http://prdelka.blackart.org.uk/exploitz/prdelka-vs-BSD-ptrace.tar.gz

Source: CCN
Type: The NetBSD Project Web site
The NetBSD Project

Source: OSVDB
Type: Vendor Advisory
20759

Source: CCN
Type: OSVDB ID: 20759
NetBSD P_SUGID Flag ptrace() Check Bypass

Source: BID
Type: UNKNOWN
15290

Source: CCN
Type: BID-15290
NetBSD Local PTrace Privilege Escalation Vulnerability

Source: XF
Type: UNKNOWN
bsd-ptrace-privilege-escalation(25362)

Vulnerable Configuration:Configuration 1:
  • cpe:/o:netbsd:netbsd:1.6:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:1.6.1:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:1.6.2:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:2.0:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:2.0.1:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:2.0.2:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:2.0.3:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:2.1:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:netbsd:netbsd:1.6:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:1.6.1:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:1.6.2:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:2.0:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:2.1:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:2.0.3:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:2.0.1:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:2.0.2:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    netbsd netbsd 1.6
    netbsd netbsd 1.6.1
    netbsd netbsd 1.6.2
    netbsd netbsd 2.0
    netbsd netbsd 2.0.1
    netbsd netbsd 2.0.2
    netbsd netbsd 2.0.3
    netbsd netbsd 2.1
    netbsd netbsd 1.6
    netbsd netbsd 1.6.1
    netbsd netbsd 1.6.2
    netbsd netbsd 2.0
    netbsd netbsd 2.1
    netbsd netbsd 2.0.3
    netbsd netbsd 2.0.1
    netbsd netbsd 2.0.2