Date: Fri, 8 Sep 2000 02:19:17 +0400 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: "Todd C. Miller" <Todd.Miller@courtesan.com> Cc: Warner Losh <imp@village.org>, Kris Kennaway <kris@FreeBSD.ORG>, "Vladimir Mencl, MK, susSED" <mencl@nenya.ms.mff.cuni.cz>, freebsd-security@FreeBSD.ORG, security-officer@FreeBSD.ORG Subject: Re: UNIX locale format string vulnerability (fwd) Message-ID: <20000908021915.A19655@nagual.pp.ru> In-Reply-To: <200009072202.e87M2su28507@xerxes.courtesan.com>; from Todd.Miller@courtesan.com on Thu, Sep 07, 2000 at 04:02:54PM -0600 References: <200009072126.e87LQuE12710@xerxes.courtesan.com> <Pine.BSF.4.21.0009071356030.8316-100000@freefall.freebsd.org> <200009072126.e87LQuE12710@xerxes.courtesan.com> <200009072132.PAA06187@harmony.village.org> <20000908013556.A19114@nagual.pp.ru> <200009072140.e87Le3715994@xerxes.courtesan.com> <20000908014646.A19231@nagual.pp.ru> <200009072150.e87LoDm26973@xerxes.courtesan.com> <20000908015631.A19316@nagual.pp.ru> <200009072202.e87M2su28507@xerxes.courtesan.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 07, 2000 at 04:02:54PM -0600, Todd C. Miller wrote: > In message <20000908015631.A19316@nagual.pp.ru> > so spake "Andrey A. Chernov" (ache): > > > Clearing all (or resetting TERMCAP as I suggest) must be done in any case, > > not only if it begins with '/'. The reason is simple - intruder can supply > > bad entry (%-infected) directly in the TERMCAP variable. > > Sorry, I don't buy it. '%' is a perfectly fine (and common) thing > to find in a termcap entry. If you have code that behaves poorly > only termcap entries with '%' in them you've got serious problems... You'll buy it. It will be carefully choosed %p/%s combination with shell code imbedded as \xxx controls directly in termcap entry and passed to tgoto/tparm. -- Andrey A. Chernov <ache@nagual.pp.ru> http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000908021915.A19655>