CVE-2005-2959
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.6% in the next 30 days (EPSS).
- Severity: 4.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Todd Miller Sudo 1.6
- Todd Miller Sudo 1.6.1
- Todd Miller Sudo 1.6.2
- Todd Miller Sudo 1.6.3
- Todd Miller Sudo 1.6.3_p1
- Todd Miller Sudo 1.6.3_p2
- Todd Miller Sudo 1.6.3_p3
- Todd Miller Sudo 1.6.3_p4
Attack profile CVSS 2.0 · 4.6
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2005-2959.md and follow it. Check whether this project is affected by CVE-2005-2959. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/17318
- http://secunia.com/advisories/17322
- http://secunia.com/advisories/17345
- http://secunia.com/advisories/17390
- http://secunia.com/advisories/17666
- http://secunia.com/advisories/18549
- http://secunia.com/advisories/24479
- http://www.debian.org/security/2005/dsa-870
- http://www.securityfocus.com/advisories/9643
- http://www.vupen.com/english/advisories/2007/0930
References
- 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
- http://secunia.com/advisories/17322
- http://secunia.com/advisories/17345
- http://secunia.com/advisories/17390
- http://secunia.com/advisories/17666
- http://secunia.com/advisories/18549
- http://secunia.com/advisories/24479
- http://www.debian.org/security/2005/dsa-870
- 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
- http://www.securityfocus.com/bid/15191
- http://www.sudo.ws/bugs/show_bug.cgi?id=182
- http://www.us-cert.gov/cas/techalerts/TA07-072A.html
- http://www.vupen.com/english/advisories/2007/0930
- 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
- http://secunia.com/advisories/17322
- http://secunia.com/advisories/17345
- http://secunia.com/advisories/17390