CVE-2005-2959 Privilege escalation in n/a
Local attackers can escalate privileges by exploiting incomplete environment variable blacklisting in sudo when executing bash scripts.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2005-2959?
CVE-2005-2959 is a medium-severity vulnerability in n/a, published on 25 Oct 2005. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-264
Which versions are affected by CVE-2005-2959?
It affects 1 product.
Products include Todd Miller Sudo.
How do I fix CVE-2005-2959?
Upgrade to a fixed version.
Is CVE-2005-2959 being exploited?
There is no known exploitation of CVE-2005-2959 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2005-2959, DSA-870-1, GHSA-xq6m-vcfr-h89q.