CVE-2005-4158
CVE-2004-1051 bash scripts run via Sudo can be subverted (CVE-2005-4158, CVE-2006-0151)
Overview
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.
Source: OX vulnerability database
Severity
4.6 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Local
- Access complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:L/AC:L/Au:N/C:P/I:P/A:P
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 8 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | sudo | 1.6.8p12-1 |
| 12 | sudo | 1.6.8p12-1 |
| 13 | sudo | 1.6.8p12-1 |
| 14 | sudo | 1.6.8p12-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| sudo | 1.6.8p12-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | sudo +3 | 1.9.7p2-1.4 | openSUSE-SU-2024:11413-1 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-sudo | 1.6.8p12-1 |
| 12 | rootio-sudo | 1.6.8p12-1 |
References
- secunia.com http://secunia.com/advisories/17534/
- secunia.com http://secunia.com/advisories/18102
- secunia.com http://secunia.com/advisories/18156
- secunia.com http://secunia.com/advisories/18308
- secunia.com http://secunia.com/advisories/18463
- secunia.com http://secunia.com/advisories/18549
- secunia.com http://secunia.com/advisories/18558
- secunia.com http://secunia.com/advisories/21692
- securitytracker.com http://securitytracker.com/alerts/2005/Nov/1015192.html
- www.debian.org http://www.debian.org/security/2006/dsa-946
Show all 22 references
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDKSA-2005:234
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDKSA-2006:159
- www.novell.com http://www.novell.com/linux/security/advisories/2006_02_sr.html
- www.securityfocus.com http://www.securityfocus.com/bid/15394
- www.sudo.ws http://www.sudo.ws/sudo/alerts/perl_env.html
- www.trustix.org http://www.trustix.org/errata/2006/0002/
- www.vupen.com http://www.vupen.com/english/advisories/2005/2386
- access.redhat.com https://access.redhat.com/security/cve/CVE-2005-4158
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/23102
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2005-4158
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2005-4158
- www.ubuntu.com https://www.ubuntu.com/usn/usn-235-1/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.