CVE-2005-4158
Last modified
CVE-2005-4158 is a vulnerability of currently unknown severity. Sudo before 1.6.8 p12, when the Perl taint flag is off, does not clear the (1) PERLLIB, (2) PERL5LIB, and (3) PERL5OPT environment variables, which allows limited local users to cause a Perl script to include and execute arbitrary library files that have the same name as library files that are included by the script.. EPSS estimates a 1.08% chance of exploitation in the next 30 days.
Description
Sudo before 1.6.8 p12, when the Perl taint flag is off, does not clear the (1) PERLLIB, (2) PERL5LIB, and (3) PERL5OPT environment variables, which allows limited local users to cause a Perl script to include and execute arbitrary library files that have the same name as library files that are included by the script.
Metrics
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Todd Miller | Sudo | 1.5.6 |
| Todd Miller | Sudo | 1.5.7 |
| Todd Miller | Sudo | 1.5.8 |
| Todd Miller | Sudo | 1.5.9 |
| 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 |
| Todd Miller | Sudo | 1.6.3_p5 |
| Todd Miller | Sudo | 1.6.3_p6 |
| Todd Miller | Sudo | 1.6.3_p7 |
| Todd Miller | Sudo | 1.6.4 |
| Todd Miller | Sudo | 1.6.4_p1 |
| Todd Miller | Sudo | 1.6.4_p2 |
| Todd Miller | Sudo | 1.6.5 |
| Todd Miller | Sudo | 1.6.5_p1 |
| Todd Miller | Sudo | 1.6.5_p2 |
| Todd Miller | Sudo | 1.6.6 |
| Todd Miller | Sudo | 1.6.7 |
| Todd Miller | Sudo | 1.6.7_p5 |
| Todd Miller | Sudo | 1.6.8 |
| Todd Miller | Sudo | 1.6.8_p1 |
| Todd Miller | Sudo | 1.6.8_p5 |
| Todd Miller | Sudo | 1.6.8_p7 |
| Todd Miller | Sudo | 1.6.8_p8 |
| Todd Miller | Sudo | 1.6.8_p9 |
References
- http://secunia.com/advisories/17534/Patch, Vendor Advisory
- http://www.securityfocus.com/bid/15394Exploit, Patch
- http://www.sudo.ws/sudo/alerts/perl_env.htmlPatch, Vendor Advisory
- http://secunia.com/advisories/17534/Patch, Vendor Advisory
- http://www.securityfocus.com/bid/15394Exploit, Patch
- http://www.sudo.ws/sudo/alerts/perl_env.htmlPatch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2005-4158?
How severe is CVE-2005-4158?
How do I fix CVE-2005-4158?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2005
- CVE-2005-4152Soti Pocket Controller-Professional 5.0 allows remote attack…
- CVE-2005-4153Mailman 2.1.4 through 2.1.6 allows remote attackers to cause…
- CVE-2005-4154Unspecified vulnerability in PEAR installer 1.4.2 and earlie…
- CVE-2005-4155registration.PHP in ATutor 1.5.1 pl2 allows remote attackers…
- CVE-2005-4156Unspecified vulnerability in Mambo 4.5 (1.0.0) through 4.5 (…
- CVE-2005-4157Unspecified vulnerability in Kerio WinRoute Firewall before …
- CVE-2005-4159NOTE: this issue has been disputed by the vendor and third p…
- CVE-2005-4160Directory traversal vulnerability in getdox.php in Torrentia…
- CVE-2005-4161Multiple cross-site scripting (XSS) vulnerabilities in Milli…
- CVE-2005-4162Cross-site scripting (XSS) vulnerability in cal_make.pl in A…
- CVE-2005-4163Directory traversal vulnerability in captcha.php in Captcha …
- CVE-2005-4164SQL injection vulnerability in view.php in PHP-addressbook 1…
Are you affected by CVE-2005-4158?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
