Description
The Xsession script, as used by X Display Manager (xdm) in NetBSD before 20060212, X.Org before 20060317, and Solaris 8 through 10 before 20061006, allows local users to overwrite arbitrary files, or read another user's Xsession errors file, via a symlink attack on a /tmp/xses-$USER file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | xdm | 1:1.0.5-1 | — |
| Debian 13 | xdm | 1:1.0.5-1 | — |
| Debian 12 | xdm | 1:1.0.5-1 | — |
References
- http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32805
- 1017015 vdb-entry
- 22992 third-party-advisory
- oval:org.mitre.oval:def:2205 vdb-entry signature
- xdm-xsession-symlink(29427) vdb-entry
- https://bugs.freedesktop.org/show_bug.cgi?id=5898
- 102652 vendor-advisory
- http://support.avaya.com/elmodocs2/security/ASA-2006-250.htm