4.6
MEDIUM
CVE-2005-2959
"sudo Bash Privilege Escalation"
Description

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

INFO

Published Date :

Oct. 25, 2005, 4:02 p.m.

Last Modified :

April 3, 2025, 1:03 a.m.

Remotely Exploitable :

No

Impact Score :

6.4

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2005-2959 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Todd_miller sudo
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2005-2959.

URL Resource
http://docs.info.apple.com/article.html?artnum=305214
http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
http://secunia.com/advisories/17318 Vendor Advisory
http://secunia.com/advisories/17322 Vendor Advisory
http://secunia.com/advisories/17345 Vendor Advisory
http://secunia.com/advisories/17390 Patch Vendor Advisory
http://secunia.com/advisories/17666 Vendor Advisory
http://secunia.com/advisories/18549 Vendor Advisory
http://secunia.com/advisories/24479 Vendor Advisory
http://www.debian.org/security/2005/dsa-870 Patch Vendor Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2005:201
http://www.novell.com/linux/security/advisories/2006_02_sr.html
http://www.openpkg.org/security/OpenPKG-SA-2006.002-sudo.html
http://www.securityfocus.com/advisories/9643 Vendor Advisory
http://www.securityfocus.com/bid/15191 Exploit
http://www.sudo.ws/bugs/show_bug.cgi?id=182
http://www.us-cert.gov/cas/techalerts/TA07-072A.html US Government Resource
http://www.vupen.com/english/advisories/2007/0930 Vendor Advisory
https://usn.ubuntu.com/213-1/
http://docs.info.apple.com/article.html?artnum=305214
http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
http://secunia.com/advisories/17318 Vendor Advisory
http://secunia.com/advisories/17322 Vendor Advisory
http://secunia.com/advisories/17345 Vendor Advisory
http://secunia.com/advisories/17390 Patch Vendor Advisory
http://secunia.com/advisories/17666 Vendor Advisory
http://secunia.com/advisories/18549 Vendor Advisory
http://secunia.com/advisories/24479 Vendor Advisory
http://www.debian.org/security/2005/dsa-870 Patch Vendor Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2005:201
http://www.novell.com/linux/security/advisories/2006_02_sr.html
http://www.openpkg.org/security/OpenPKG-SA-2006.002-sudo.html
http://www.securityfocus.com/advisories/9643 Vendor Advisory
http://www.securityfocus.com/bid/15191 Exploit
http://www.sudo.ws/bugs/show_bug.cgi?id=182
http://www.us-cert.gov/cas/techalerts/TA07-072A.html US Government Resource
http://www.vupen.com/english/advisories/2007/0930 Vendor Advisory
https://usn.ubuntu.com/213-1/

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2005-2959 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2005-2959 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://docs.info.apple.com/article.html?artnum=305214
    Added Reference http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
    Added Reference http://secunia.com/advisories/17318
    Added Reference http://secunia.com/advisories/17322
    Added Reference http://secunia.com/advisories/17345
    Added Reference http://secunia.com/advisories/17390
    Added Reference http://secunia.com/advisories/17666
    Added Reference http://secunia.com/advisories/18549
    Added Reference http://secunia.com/advisories/24479
    Added Reference http://www.debian.org/security/2005/dsa-870
    Added Reference http://www.mandriva.com/security/advisories?name=MDKSA-2005:201
    Added Reference http://www.novell.com/linux/security/advisories/2006_02_sr.html
    Added Reference http://www.openpkg.org/security/OpenPKG-SA-2006.002-sudo.html
    Added Reference http://www.securityfocus.com/advisories/9643
    Added Reference http://www.securityfocus.com/bid/15191
    Added Reference http://www.sudo.ws/bugs/show_bug.cgi?id=182
    Added Reference http://www.us-cert.gov/cas/techalerts/TA07-072A.html
    Added Reference http://www.vupen.com/english/advisories/2007/0930
    Added Reference https://usn.ubuntu.com/213-1/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 03, 2018

    Action Type Old Value New Value
    Removed Reference http://www.ubuntulinux.org/support/documentation/usn/usn-213-1 [No Types Assigned]
    Added Reference https://usn.ubuntu.com/213-1/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 25, 2005

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2005-2959 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2005-2959 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.10 }} -0.00%

score

0.24355

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability