Vulnerability Development mailing list archives
Re: BSD chfn bug
From: btellier () USA NET (Tellier, Brock)
Date: Thu, 23 Dec 1999 18:05:05 -0000
In message <<A HREF="mailto:19991220153724.A24141 () hq alert sk">19991220153724.A24141 () hq alert sk</A>> Pavol Luptak writes: : My friend a long time ago found a hole in BSD chfn/chsh/chpass vulnerable i= : n all versions FreeBSD 2.x - 4.0. I don't find any possibility how this exp= : loit. I think, readers of this mailing list will appreciate this.
Lukasz Luzar found this months ago. I've been testing his >fixes on my machine for some time (mostly becuase I got busy and didn't >commit them). I'm going to fix that now.
At best you can get a file in /etc/ that is owned by >yourself.
I can think of a half-dozen ways where this could lead to a root compromise. Many daemons/suid's look to /etc for optional config files. Some of these may have paths for temp files or other potentially damaging information. Most of these programs probably don't check who owns the file before opening it. Unless you're saying that you can only get a tmp file with a particular name in /etc. -Brock
Current thread:
- Re: Idiocy "exploit", (continued)
- Re: Idiocy "exploit" Joel Eriksson (Dec 03)
- Owning privileged processes under UnixWare Tellier, Brock (Dec 06)
- Re: Owning privileged processes under UnixWare Elias Levy (Dec 06)
- Re: Owning privileged processes under UnixWare Blue Boar (Dec 07)
- rpcclient 2.0.5a crashed services.exe Blue Boar (Dec 13)
- Wireless LANs ? Sebastian Andersson (Dec 14)
- [Fwd: rpcclient 2.0.5a crashed services.exe] Blue Boar (Dec 15)
- BSD chfn bug Pavol Luptak (Dec 20)
- Re: BSD chfn bug Przemyslaw Frasunek (Dec 21)
- Re: BSD chfn bug Warner Losh (Dec 21)
- Re: BSD chfn bug Tellier, Brock (Dec 23)
- Re: BSD chfn bug Stanislav N. Vardomskiy (Dec 25)
- Re: BSD chfn bug Michal Zalewski (Jul 21)
- ssh quirks... Scott D. Yelich (Dec 26)
- Re: ssh quirks... Ryan Permeh (Dec 27)
- Re: ssh quirks... Scott D. Yelich (Dec 27)
- Re: ssh quirks... C.J. Oster (Dec 27)
- Re: ssh quirks... Blue Boar (Dec 27)
- Re: ssh quirks... Ralph the Wonder Llama (Dec 27)
- Re: ssh quirks... LaMont Jones (Dec 27)
- Re: ssh quirks... Kev (Dec 28)
