A certain Red Hat script for sudo 1.7.2 on Red Hat Enterprise Linux (RHEL) 5 allows local users to overwrite arbitrary files via a symlink attack on the /var/tmp/nsswitch.conf.bak temporary file.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Sudo | Todd_miller | 1.7.2 (including) | 1.7.2 (including) |
| Enterprise_linux | Redhat | 5 (including) | 5 (including) |
| Red Hat Enterprise Linux 5 | RedHat | sudo-0:1.7.2p1-14.el5_8.2 | * |